; Music of Barbarian (1987) (Palace Software) (Paul Murray)
; Ripped by Megachur the 31/10/2006

	write "BARBARIA.BIN"

music_date_rip	equ &1fa6
music_adr	equ &6d99
first_theme	equ &0d
last_theme	equ &0f	; &0d -> &0f

	read "music_header_v1_0.asm"

	ld a,#00
	call l733e
	inc a
	call l733e
	ld a,#00
	ld b,#00
	ld c,#20
	ld de,#0000
	ex af,af'
	ld a,#30
	ex af,af'
	call l751e
	ld a,#81
	ld b,#00
	ld c,#20
	ld de,#0029
	ex af,af'
	ld a,#00
	ex af,af'
	call l751e
	ld a,#0d
	call l70ea
	call #6b86
	ld hl,#1000
	ld (#c7fa),hl
	ret
	ld a,(#c7ef)
	cp #03
	ret z
	cp #00
	jr z,l6ded
	ld a,(#c7f0)
	and #01
	jr z,l6ded
	ld a,(#c7ed)
	cp #07
	ret z
	inc a
	call l6ec9
	ret
.l6ded
	call l6e09
	call #6c1c
	ret
	ld hl,#1000
	ld (#c7fa),hl
.l6dfa
	push af
	call l6f78
	pop af
	dec a
	jr nz,l6dfa
	ret
	ld a,#ff
	ld (#c7fc),a
	ret
.l6e09
	ld hl,#0000
	ld (l9213),hl
	ld ix,l9213
	call l714a
	ld hl,#0000
	ld (l921e),hl
	ld ix,l921e
	call l714a
	ret
	ld a,#04
	call l7d65
	push hl
	pop ix
	bit 0,(ix+#0c)
	ret z
	call l6e38
	call l6e7b
	ret
.l6e38
	ld a,#05
	call l7d65
	push hl
	pop iy
	ld a,(iy+#03)
	cp #43
	jr c,l6e52
	ld a,#05
	call l754d
	ld a,#02
	call l754d
	ret
.l6e52
	ld a,(ix+#0b)
	or a
	ret z
	ld a,(ix+#03)
	add #04
	cp (iy+#03)
	ret nz
	ld a,#05
	ld c,#08
	call l7574
	ld a,#05
	ld c,#25
	call l755a
	ld a,#02
	ld c,#09
	call l7574
	ld a,#08
	call l70ea
	ret
.l6e7b
	ld a,(#c7f0)
	and #7f
	call l7d65
	push hl
	pop iy
	ld a,(iy+#03)
	add a
	sub #02
	cp (ix+#03)
	ret nc
	ld a,(hl)
	or a
	ret nz
	ld a,(#c7f0)
	and #7f
	ld c,#0a
	call l7574
	ld a,#0e
	call l70ea
	ret
	ld a,(#c7f1)
	or a
	ret z
	ld a,(#c7f2)
	call l7d65
	push hl
	pop ix
	ld a,(ix+#08)
	cp #a4
	ret z
	bit 7,a
	ret z
	ld a,#00
	ld c,#24
	call l755a
	ld a,#01
	ld c,#24
	call l755a
	ret
.l6ec9
	ld hl,#c7ed
	ld (hl),a
	ld bc,#0513
	ld a,#05
	call l7b56
	ld hl,(#c7ed)
	ld h,#00
	add hl,hl
	ld de,la5b5
	add hl,de
	ld a,#03
	call l7c78
	inc hl
	ld a,#01
	call l7c78
	ret
	ld a,(#c7ef)
	cp #00
	ret nz
	ld a,(l82be)
	bit 2,a
	ret z
	ld a,#00
.l6ef9
	push af
	call l754d
	pop af
	inc a
	cp #06
	jr nz,l6ef9
	call l7d3b
	call l7c9c
.l6f09
	ld a,(l82be)
	bit 2,a
	jr z,l6f43
	ld a,(#c7ef)
	inc a
	cp #04
	jr nz,l6f19
	xor a
.l6f19
	push af
	call l6f51
	pop af
	cp #00
	ld a,#04
	jr z,l6f26
	ld a,#00
.l6f26
	call l6ec9
	ld a,#0a
.l6f2b
	push af
	ld hl,(#c7fa)
	push hl
	ld hl,#1000
	ld (#c7fa),hl
	call l6f78
	pop hl
	ld (#c7fa),hl
	pop af
	dec a
	jr nz,l6f2b
	jr l6f09
.l6f43
	ld a,(l82c1)
	bit 7,a
	jr z,l6f09
	call #6d44
	call l6e09
	ret
.l6f51
	ld (#c7ef),a
	ld b,a
	ld hl,l9229
	call l7c43
	ld (#c7e4),hl
	ld a,b
	ld hl,l91a4
	call l7c43
	ld bc,#1811
	call l7b78
	ld a,(#c7ef)
	cp #03
	ret z
	ld a,(#c7ed)
	call l6ec9
	ret
.l6f78
	ld bc,(#c7fa)
.l6f7c
	dec bc
	ld a,b
	or c
	jr nz,l6f7c
	ret
	ld a,(#c7ea)
	cp #04
	ret nc
	call l72bf
	ret c
	call l6f9d
	ld b,#01
	call l6faf
	call l6fa6
	ld b,#00
	call l6faf
	ret
.l6f9d
	ld ix,#0040
	ld iy,#004e
	ret
.l6fa6
	ld iy,#0040
	ld ix,#004e
	ret
.l6faf
	ld a,(ix+#0b)
	ld hl,l989a
	call l7c43
	ld a,h
	or l
	ret z
.l6fbb
	ld a,(hl)
	cp #ff
	ret z
	cp (iy+#0b)
	call z,l6fca
	inc hl
	inc hl
	jp l6fbb
.l6fca
	push hl
	push af
	inc hl
	ld a,(hl)
	ld h,#00
	ld l,a
	add hl,hl
	add hl,hl
	ld de,l9e26
	add hl,de
	ld (#c7f8),ix
	push hl
	pop ix
	ld a,(ix+#00)
	and #03
	ld c,a
	ld a,(#c7ea)
	cp c
	jr z,l7019
	ld a,(ix+#00)
	and #0c
	rrca
	rrca
	ld c,a
	ld a,(#c7ea)
	cp c
	jr z,l7019
	ld a,(ix+#00)
	and #30
	rrca
	rrca
	rrca
	rrca
	ld c,a
	ld a,(#c7ea)
	cp c
	jr z,l7019
	ld a,(ix+#00)
	and #c0
	rlca
	rlca
	ld c,a
	ld a,(#c7ea)
	cp c
	jr z,l7019
	jp l708b
.l7019
	ld a,(ix+#01)
	cp #ff
	jr z,l708b
	or a
	jr z,l7028
	ld c,a
	ld a,b
	call l755a
.l7028
	ld a,(ix+#02)
	and #f0
	or a
	jr z,l7037
	rrca
	rrca
	rrca
	rrca
	call l70ea
.l7037
	ld a,(ix+#02)
	rr a
	rr a
	and #03
	ld l,a
	ld a,b
	call l711d
	ld a,(ix+#02)
	and #03
	ld hl,l9ec2
	call l7c43
	push ix
	jp (hl)
.l7053
	pop ix
	ld a,(ix+#03)
	and #0f
	or a
	jr z,l708b
	dec a
	ld hl,l923d
	call l7c43
	ld a,h
	and #80
	rlca
	ld c,a
	ld a,h
	push iy
	ld iy,(#c7f8)
	bit 2,(iy+#0c)
	jr nz,l707d
	and #7f
	add (iy+#03)
	jr l7084
.l707d
	ld e,a
	ld a,(iy+#03)
	add #07
	sub e
.l7084
	ld e,a
	ld d,l
	call l71a8
	pop iy
.l708b
	pop af
	pop hl
	ret
	ld a,b
	call l733e
	ld a,b
	ld hl,#c7eb
	call l7b4f
	ld a,(hl)
	dec a
	push bc
	push hl
	ld c,a
	cp #06
	jr c,l70a4
	sub #06
.l70a4
	bit 0,b
	jr z,l70aa
	add #22
.l70aa
	push af
	ld b,#01
	ld a,c
	cp #06
	jr nc,l70b3
	dec b
.l70b3
	pop af
	ld c,a
	ld hl,l9199
	call l7b78
	pop hl
	pop bc
	dec (hl)
	jr nz,l7053
	ld a,b
	or #80
	ld (#c7f0),a
	and #7f
	ld c,#1c
	call l755a
	ld a,#01
	sub b
	ld c,#1d
	call l755a
	ld a,#44
	ld b,#07
	ld c,#1e
	ld de,#3500
	call l751e
	ld hl,#0001
	ld (#c7fa),hl
	jp l7053
;
.init_music
.l70ea
;
	push af
	push hl
	push de
	push bc
	push ix
	push iy
;ld hl,#c7ee
;bit 0,(hl)
;jr nz,l7114
	defs 7,0
	ld l,a
	add a
	add l
	ld hl,l9ec8
	call l7b4f
	ld a,#00
.l7104
	push hl
	push af
	ld l,(hl)
	di
	call l7d8d
	ei
	pop af
	pop hl
	inc hl
	inc a
	cp #03
	jr nz,l7104
.l7114
	pop iy
	pop ix
	pop bc
	pop de
	pop hl
	pop af
	ret
.l711d
	push bc
	push ix
	push hl
	ld hl,l9203
	call l7c43
	push hl
	pop ix
	pop hl
	ld h,#00
	add hl,hl
	ld de,l9207
	add hl,de
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	ld e,(ix+#00)
	ld d,(ix+#01)
	add hl,de
	ld (ix+#00),l
	ld (ix+#01),h
	call l714a
	pop ix
	pop bc
	ret
.l714a
	ld de,#2710
	call l7185
	ld (ix+#05),a
	ld de,#03e8
	call l7185
	ld (ix+#06),a
	ld de,#0064
	call l7185
	ld (ix+#07),a
	ld de,#000a
	call l7185
	ld (ix+#08),a
	ld a,#30
	add l
	ld (ix+#09),a
	push ix
	pop hl
	ld bc,#0004
	add hl,bc
	ld c,(ix+#02)
	ld b,(ix+#03)
	call l7b78
	ret
.l7185
	ld b,h
	ld c,l
	call l718e
	ld a,c
	add #30
	ret
.l718e
	push af
	ld hl,#0000
	ld a,b
	ld b,#10
.l7195
	rl c
	rla
	adc hl,hl
	sbc hl,de
	jr nc,l719f
	add hl,de
.l719f
	ccf
	djnz l7195
	rl c
	rla
	ld b,a
	pop af
	ret
.l71a8
	push de
	push bc
	ld a,d
	call l7495
	pop bc
	pop de
	ld d,#00
	add hl,de
	add hl,de
	ld de,#000a
	or a
	sbc hl,de
	push hl
	ld l,c
	ld h,#00
	add hl,hl
	add hl,hl
	add hl,hl
	ld de,l95e9
	add hl,de
	ld c,(hl)
	inc hl
	ld b,(hl)
	inc hl
	inc hl
	inc hl
	ld e,(hl)
	inc hl
	ld d,(hl)
	pop hl
	push bc
	exx
	pop hl
	exx
	ld a,#0d
	ld i,a
.l71d7
	ld a,#04
	push hl
.l71da
	ex af,af'
	ld a,(de)
	and (hl)
	exx
	or (hl)
	inc hl
	exx
	ld (hl),a
	inc hl
	inc de
	ex af,af'
	dec a
	jr nz,l71da
	pop hl
	call l71f4
	ld a,i
	dec a
	ld i,a
	jr nz,l71d7
	ret
.l71f4
	ld a,h
	add #08
	ld h,a
	and #38
	ret nz
	ld a,h
	sub #40
	ld h,a
	ld a,l
	add #50
	ld l,a
	ret nc
	inc h
	ret
	ld a,b
	or #80
	ld (#c7f0),a
	and #7f
	xor #01
	ld c,#14
	call l755a
	call l727c
	ld a,#44
	ld b,#07
	ld c,#1e
	ld de,#3500
	call l751e
	ld hl,#0001
	ld (#c7fa),hl
	ld a,(iy+#03)
	add a
	bit 2,(iy+#0c)
	jr nz,l7236
	sub #0c
.l7236
	ld e,a
	ld a,(iy+#0c)
	and #04
	rrca
	rrca
	ld hl,l923b
	call l7b4f
	ld a,(iy+#03)
	cp (hl)
	jr nc,l724e
	ld l,#05
	jr l7250
.l724e
	ld l,#03
.l7250
	ld a,#45
	ld b,l
	ld c,#21
	ld d,#18
	call l751e
	inc l
	ld a,(iy+#0c)
	and #04
	srl a
	srl a
	ld b,a
	inc b
	ld a,#43
	ld c,#23
	ld d,#0f
	call l751e
	ld a,#42
	ld b,l
	ld c,#22
	ld d,#51
	call l751e
	jp l7053
.l727c
	push af
	push hl
	push de
	push bc
	push ix
	push iy
	ld a,(#c7f0)
	ld d,a
	ld hl,#5c80
	ld bc,#0138
.l728e
	ld e,(hl)
	bit 0,d
	call z,l72a7
	call nz,l72b8
	ld (hl),e
	inc hl
	dec bc
	ld a,c
	or b
	jr nz,l728e
	pop iy
	pop ix
	pop bc
	pop de
	pop hl
	pop af
	ret
.l72a7
	push af
	ld a,e
	and #88
	jr z,l72af
	set 5,e
.l72af
	ld a,e
	and #44
	jr z,l72b6
	set 4,e
.l72b6
	pop af
	ret
.l72b8
	push af
	res 4,e
	res 5,e
	pop af
	ret
.l72bf
	call l6f9d
	bit 2,(ix+#0c)
	jr nz,l72cb
	call l6fa6
.l72cb
	ld a,(ix+#03)
	cp (iy+#03)
	ret
	ld a,(l82bd)
	bit 7,a
	ret z
	ld a,#ff
	ld (#c7f6),a
.l72dd
	ld a,(l82bd)
	bit 7,a
	jr nz,l72dd
.l72e4
	ld a,(l82bd)
	bit 7,a
	jr z,l72e4
	ld a,#00
	ld (#c7f6),a
	ret
	ld a,(ix+#0c)
	and #04
	srl a
	srl a
	ld hl,l9231
	call l7b4f
	add (ix+#03)
	ld (ix+#03),a
	ld a,(ix+#0c)
	xor #04
	ld (ix+#0c),a
	ret
	ld b,#00
.l7311
	halt
	djnz l7311
	ret
	ld a,(#0043)
	ld b,a
	ld a,(#0051)
	sub b
	jr nc,l7321
	neg
.l7321
	ld (#c7ea),a
	ret
	ld a,(l82c2)
	bit 7,a
	ret z
	ld bc,#0f10
	ld hl,l9180
	call l7b78
	ld bc,#100f
	ld hl,l9188
	call l7b78
	ret
.l733e
	push bc
	push af
	ld hl,l9237
	call l7c43
	pop af
	push af
	ld c,l
	ld d,#16
	ld e,h
	call l746a
	pop af
	pop bc
	ret
	ld b,#00
	call l6f9d
	ld a,(#c7e4)
	call l7369
	ld b,#01
	call l6fa6
	ld a,(#c7e5)
	call l7369
	ret
.l7369
	ld hl,la387
	call l7c43
	jp (hl)
.l7370
	ld a,(l82c5)
	call l7452
	call l7406
.l7379
	ret
.l737a
	ld a,(l82c4)
	ld c,#00
	and #28
	cp #28
	jr z,l7391
	bit 3,a
	jr z,l738b
	set 0,c
.l738b
	bit 5,a
	jr z,l7391
	set 1,c
.l7391
	ld a,(l82c1)
	and #30
	cp #30
	jr z,l73a6
	bit 4,a
	jr z,l73a0
	set 2,c
.l73a0
	bit 5,a
	jr z,l73a6
	set 3,c
.l73a6
	ld a,(l82c1)
	bit 7,a
	jr z,l73af
	set 4,c
.l73af
	ld a,c
	call l7452
	call l7406
	ret
.l73b7
	ld l,(iy+#0b)
	ld h,#00
	add hl,hl
	ld de,l9271
	add hl,de
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	push hl
	ld a,(#c7ea)
	ld hl,l9249
	call l7b4f
	pop hl
	call l7b4f
	ld de,#0008
	call l7c86
	ld de,l93d9
	add hl,de
	push hl
	ld a,(#c7ed)
	ld de,#0020
	call l7c86
	ld de,l9491
	add hl,de
	ld a,r
	and #1f
	call l7b4f
	pop hl
	call l7b4f
	ld (#c7e7),a
	ld hl,la4c5
	and #0f
	call l7b4f
	ld c,a
	call l7406
	ret
.l7406
	ld a,(ix+#08)
	call l7583
	bit 5,a
	ret nz
	bit 7,a
	jr z,l7418
	ld a,(ix+#08)
	or a
	ret p
.l7418
	ld a,c
	or a
	ret z
	ld a,(ix+#08)
	and #7f
	dec a
	push af
	ld hl,l9609
	ld a,(#c7e7)
	and #10
	jr z,l742f
	ld hl,l9626
.l742f
	pop af
	call l7b4f
	ld de,#0009
	call l7c86
	dec c
	ld e,c
	ld d,#00
	add hl,de
	ld de,l9643
	add hl,de
	ld a,(hl)
	or a
	ret z
	ld c,a
	ld a,(ix+#08)
	and #7f
	cp c
	ret z
	ld a,b
	call l755a
	ret
.l7452
	ld (#c7e7),a
	ld hl,la4c5
	bit 2,(ix+#0c)
	jr z,l7461
	ld hl,la4d5
.l7461
	and #0f
	push hl
	call l7b4f
	pop hl
	ld c,a
	ret
.l746a
	push de
	push de
	ld de,#0005
	call l7c86
	ld de,#cfd0
	add hl,de
	push hl
	pop ix
	ld (ix+#00),#01
	ld (ix+#01),c
	ld (ix+#02),#00
	pop af
	push af
	call l7495
	pop bc
	ld b,#00
	add hl,bc
	ld (ix+#03),l
	ld (ix+#04),h
	pop de
	ret
.l7495
	ld (#c7f3),a
	and #07
	ld de,#0800
	call l7c86
	ld b,h
	ld c,l
	ld a,(#c7f3)
	srl a
	srl a
	srl a
	ld de,#0050
	call l7c86
	add hl,bc
	ld bc,#c000
	add hl,bc
	ret
	ld b,#05
	ld ix,#cfd0
.l74bd
	push bc
	bit 0,(ix+#00)
	call nz,l74ce
	ld de,#0005
	add ix,de
	pop bc
	djnz l74bd
	ret
.l74ce
	ld a,(ix+#01)
	ld hl,l96b6
	call l7c43
	ld e,(ix+#02)
	ld d,#00
	add hl,de
	inc hl
	ld a,(hl)
	cp #fa
	jr c,l74ec
	cp #fb
	ret z
	ld (ix+#02),#00
	jr l74ce
.l74ec
	inc (ix+#02)
	ld l,a
	ld h,#00
	add hl,hl
	add hl,hl
	ld de,l9591
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld b,(hl)
	inc hl
	ld c,(hl)
	ld h,(ix+#04)
	ld l,(ix+#03)
	call l7509
	ret
.l7509
	ld a,b
	ld i,a
.l750c
	ld a,i
	ld b,a
	push hl
.l7510
	ld a,(de)
	ld (hl),a
	inc hl
	inc de
	djnz l7510
	pop hl
	call l71f4
	dec c
	jr nz,l750c
	ret
.l751e
	push hl
	push af
	push de
	and #07
	call l7d65
	pop de
	pop af
	and #c0
	rlca
	rlca
	rlca
	or #09
	ld (hl),b
	inc hl
	ld b,#00
	ld (hl),b
	inc hl
	ld (hl),b
	inc hl
	ld (hl),e
	inc hl
	ld (hl),d
	inc hl
	inc hl
	inc hl
	inc hl
	ld (hl),c
	inc hl
	ld (hl),b
	inc hl
	ld (hl),b
	inc hl
	ld (hl),b
	inc hl
	ld (hl),a
	inc hl
	ex af,af'
	ld (hl),a
	ex af,af'
	pop hl
	ret
.l754d
	ld de,#000e
	call l7c86
	ld de,#004c
	add hl,de
	res 0,(hl)
	ret
.l755a
	push hl
	push ix
	push af
	call l7d65
	push hl
	pop ix
	ld (ix+#08),c
	ld (ix+#09),#00
	ld (ix+#0a),#00
	pop af
	pop ix
	pop hl
	ret
.l7574
	push hl
	push af
	call l7d65
	ld (hl),c
	inc hl
	ld (hl),#00
	inc hl
	ld (hl),#00
	pop af
	pop hl
	ret
.l7583
	push hl
	and #7f
	dec a
	ld hl,l96b8
	call l7c43
	ld a,(hl)
	pop hl
	ret
	ld a,(#0048)
	call l7583
	and #40
	rlca
	rlca
	ld b,a
	ld a,(#0056)
	call l7583
	and #40
	rlca
	rlca
	rlca
	or b
	cp #01
	jr nz,l75b3
	call l75e2
	call l75d9
	jr l75b9
.l75b3
	call l75d9
	call l75e2
.l75b9
	ld ix,#005c
	ld b,#04
	ld a,#02
.l75c1
	push af
	push ix
	push bc
	bit 0,(ix+#0c)
	call nz,l75eb
	pop bc
	pop ix
	pop af
	inc a
	ld de,#000e
	add ix,de
	djnz l75c1
	ret
.l75d9
	ld a,#00
	call l6f9d
	call l75eb
	ret
.l75e2
	ld a,#01
	call l6fa6
	call l75eb
	ret
.l75eb
	push af
.l75ec
	res 7,(ix+#08)
	ld a,(ix+#08)
	or a
	jp z,l76a8
	ld a,(ix+#0a)
	or a
	jr z,l7603
	dec (ix+#0a)
	jp l76a8
.l7603
	ld a,(ix+#08)
	ld hl,l96b6
	call l7c43
	ex de,hl
	ld l,(ix+#09)
	ld h,#00
	add hl,de
	inc hl
	ld a,(hl)
	ld (#c7d0),hl
	cp #fa
	jr c,l7625
	sub #fa
	ld hl,la38f
	call l7c43
	jp (hl)
.l7625
	ld (ix+#0b),a
	call l779a
	ld hl,(#c7d0)
	inc hl
	ld a,(hl)
	cp #ff
	jr z,l763c
	cp #fa
	jr c,l763c
	set 7,(ix+#08)
.l763c
	inc (ix+#09)
	ld a,(de)
	and #1f
	ld (ix+#0a),a
	jr l76a8
.l7647
	ld hl,(#c7d0)
	inc hl
	ld a,(hl)
	call l70ea
	inc (ix+#09)
	inc (ix+#09)
	jr l7603
.l7657
	ld (ix+#09),#00
	res 7,(ix+#08)
	jr l7603
.l7661
	set 7,(ix+#08)
	jp l76a8
.l7668
	pop af
	call l754d
	ret
.l766d
	pop af
	push af
	ld hl,(#c7d0)
	inc hl
	ld c,(hl)
	call l755a
	jp l75ec
.l767a
	xor a
	ld (#c7f1),a
	pop af
	push af
	ld hl,(#c7d0)
	inc hl
	ld c,(hl)
	call l755a
	ld a,(ix+#0c)
	and #04
	srl a
	srl a
	ld hl,l9231
	call l7b4f
	add (ix+#03)
	ld (ix+#03),a
	ld a,(ix+#0c)
	xor #04
	ld (ix+#0c),a
	jp l75ec
.l76a8
	ld a,(ix+#00)
	or a
	jp z,l772d
	bit 3,(ix+#0c)
	jr z,l76bc
	res 3,(ix+#0c)
	jp l777a
.l76bc
	ld a,(ix+#02)
	or a
	jr z,l76c8
	dec (ix+#02)
	jp l772d
.l76c8
	ld hl,la3a5
	ld a,(ix+#00)
	call l7c43
	ex de,hl
	ld l,(ix+#01)
	ld h,#00
	add hl,hl
	add hl,hl
	add hl,de
	ld a,(hl)
	cp #fa
	jr c,l76e9
	sub #fa
	ex de,hl
	ld hl,la39b
	call l7c43
	jp (hl)
.l76e9
	ld (ix+#05),a
	inc hl
	ld a,(hl)
	ld (ix+#02),a
	inc hl
	ld a,(hl)
	ld (ix+#06),a
	inc hl
	ld a,(hl)
	ld (ix+#07),a
	inc (ix+#01)
	jp l772d
.l7701
	ld (ix+#01),#00
	jr l76c8
.l7707
	jp l772d
.l770a
	inc de
	ld a,(de)
	call l70ea
	inc (ix+#01)
	jr l76c8
.l7714
	inc de
	ld a,(de)
	ld (ix+#00),a
	xor a
	ld (ix+#01),a
	ld (ix+#02),a
	jp l76a8
.l7723
	pop af
	call l754d
	ld a,#ff
	ld (#c7f4),a
	ret
.l772d
	ld c,(ix+#05)
	bit 0,c
	call nz,l7746
	bit 1,c
	call nz,l7753
	bit 2,c
	call nz,l775d
	bit 3,c
	call nz,l776a
	jr l777a
.l7746
	ld a,(ix+#04)
	sub (ix+#07)
	jr nc,l774f
	xor a
.l774f
	ld (ix+#04),a
	ret
.l7753
	ld a,(ix+#04)
	add (ix+#07)
	ld (ix+#04),a
	ret
.l775d
	ld a,(ix+#03)
	sub (ix+#06)
	jr nc,l7766
	xor a
.l7766
	ld (ix+#03),a
	ret
.l776a
	ld a,(ix+#03)
	add (ix+#06)
	cp #58
	jr c,l7776
	ld a,#57
.l7776
	ld (ix+#03),a
	ret
.l777a
	pop bc
	ld b,(ix+#0b)
	ld e,(ix+#03)
	ld a,(ix+#0d)
	ld d,(ix+#04)
	bit 1,(ix+#0c)
	call nz,l783d
	ret nz
	bit 2,(ix+#0c)
	call z,l789c
	call nz,l798d
	ret
.l779a
	bit 1,(ix+#0c)
	ret nz
	ld hl,la32b
	call l7b4f
	bit 2,(ix+#0c)
	jr z,l77ad
	neg
.l77ad
	add (ix+#03)
	ld (ix+#03),a
	push af
	ld a,(ix+#08)
	and #7f
	cp #24
	call z,l781f
	pop af
	ld c,a
	ld a,(ix+#08)
	call l7583
	and #20
	ret nz
	pop hl
	pop af
	push af
	push hl
	ld b,a
	cp #02
	ret nc
	call l781f
	ld a,(#c7f1)
	or a
	ret nz
	ld a,c
	bit 2,(ix+#0c)
	jr z,l77ec
	cp (iy+#03)
	jr nc,l77e8
	call l77f8
.l77e8
	ld (ix+#03),c
	ret
.l77ec
	cp (iy+#03)
	jr c,l77f4
	call l77f8
.l77f4
	ld (ix+#03),c
	ret
.l77f8
	ld a,b
	ld (#c7f2),a
	ld a,(ix+#08)
	and #7f
	cp #12
	jr nz,l7815
	ld a,(iy+#0b)
	ld b,a
	ld hl,l9ef8
.l780c
	ld a,(hl)
	cp b
	jr z,l7819
	inc hl
	cp #ff
	jr nz,l780c
.l7815
	ld c,(iy+#03)
	ret
.l7819
	ld a,#ff
	ld (#c7f1),a
	ret
.l781f
	ld a,(ix+#0c)
	and #04
	rrca
	rrca
	ld hl,l9233
	call l7c43
	ld a,(ix+#03)
	ld c,a
	cp l
	jr nc,l7834
	ld c,l
.l7834
	cp h
	jr c,l7839
	ld c,h
	dec c
.l7839
	ld (ix+#03),c
	ret
.l783d
	push af
	push hl
	push de
	push bc
	push ix
	push iy
	ld a,e
	cp #43
	jp nc,l7893
	exx
	ld d,#1a
	exx
	ld c,e
	ld e,d
	ld d,#00
	ld a,#44
	call l7c86
	ld e,c
	ld d,#00
	add hl,de
	ld de,#0100
	add hl,de
	push hl
	ld l,b
	ld h,#00
	add hl,hl
	add hl,hl
	ld de,l9591
	add hl,de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ex af,af'
	ld a,(hl)
	ex af,af'
	inc hl
	ld c,(hl)
	pop hl
.l7874
	push hl
	ex af,af'
	ld b,a
	ex af,af'
.l7878
	ld a,(de)
	or a
	jr z,l7885
	exx
	ld e,a
	ld a,(de)
	exx
	and (hl)
	ld (hl),a
	ld a,(de)
	or (hl)
	ld (hl),a
.l7885
	inc hl
	inc de
	djnz l7878
	pop hl
	push bc
	ld bc,#0044
	add hl,bc
	pop bc
	dec c
	jr nz,l7874
.l7893
	pop iy
	pop ix
	pop bc
	pop de
	pop hl
	pop af
	ret
.l789c
	push af
	exx
	ld c,a
	ld ix,la58d
	ld h,#55
	ld l,#aa
	ld d,#1a
	exx
	ld a,e
	or a
	jp z,l798b
	cp #29
	jp nc,l798b
	call l7a25
	call l7a8c
	ld a,#0c
.l78bc
	ld i,a
	ld a,(iy+#00)
	or a
	jp z,l797f
	dec a
	ld h,a
	ld l,#00
	srl h
	rr l
	srl h
	rr l
	ld bc,#1d80
	add hl,bc
	ex de,hl
	ld hl,(#c7d5)
	ld b,(ix+#01)
	ld c,(ix+#00)
	add hl,bc
	ld a,#15
.l78e2
	ld b,#18
	ex af,af'
	ld a,(de)
	ld c,a
	ld a,(bc)
	or a
	jr z,l78fc
	exx
	ld e,a
	ld a,(de)
	ld b,a
	exx
	and (hl)
	ld (hl),a
	exx
	ld a,b
	cpl
	ld b,a
	ld a,e
	or c
	and b
	exx
	or (hl)
	ld (hl),a
.l78fc
	inc b
	inc hl
	ld a,(bc)
	or a
	jr z,l7913
	exx
	ld e,a
	ld a,(de)
	ld b,a
	exx
	and (hl)
	ld (hl),a
	exx
	ld a,b
	cpl
	ld b,a
	ld a,e
	or c
	and b
	exx
	or (hl)
	ld (hl),a
.l7913
	dec b
	inc hl
	inc e
	ld a,(de)
	ld c,a
	ld a,(bc)
	or a
	jr z,l792d
	exx
	ld e,a
	ld a,(de)
	ld b,a
	exx
	and (hl)
	ld (hl),a
	exx
	ld a,b
	cpl
	ld b,a
	ld a,e
	or c
	and b
	exx
	or (hl)
	ld (hl),a
.l792d
	inc b
	inc hl
	ld a,(bc)
	or a
	jr z,l7944
	exx
	ld e,a
	ld a,(de)
	ld b,a
	exx
	and (hl)
	ld (hl),a
	exx
	ld a,b
	cpl
	ld b,a
	ld a,e
	or c
	and b
	exx
	or (hl)
	ld (hl),a
.l7944
	dec b
	inc hl
	inc e
	ld a,(de)
	ld c,a
	ld a,(bc)
	or a
	jr z,l795e
	exx
	ld e,a
	ld a,(de)
	ld b,a
	exx
	and (hl)
	ld (hl),a
	exx
	ld a,b
	cpl
	ld b,a
	ld a,e
	or c
	and b
	exx
	or (hl)
	ld (hl),a
.l795e
	inc b
	inc hl
	ld a,(bc)
	or a
	jr z,l7975
	exx
	ld e,a
	ld a,(de)
	ld b,a
	exx
	and (hl)
	ld (hl),a
	exx
	ld a,b
	cpl
	ld b,a
	ld a,e
	or c
	and b
	exx
	or (hl)
	ld (hl),a
.l7975
	inc e
	ld bc,#003f
	add hl,bc
	ex af,af'
	dec a
	jp nz,l78e2
.l797f
	inc iy
	inc ix
	inc ix
	ld a,i
	dec a
	jp nz,l78bc
.l798b
	pop af
	ret
.l798d
	push af
	exx
	ld c,a
	ld ix,la58d
	ld h,#55
	ld l,#aa
	ld d,#1a
	exx
	ld a,e
	or a
	jp z,l7a23
	cp #29
	jp nc,l7a23
	call l7a25
	call l7a71
	call l7a8c
	ld a,#0c
.l79b0
	push af
	ld a,(iy+#00)
	or a
	jp z,l7a18
	dec a
	ld h,a
	ld l,#00
	srl h
	rr l
	srl h
	rr l
	ld bc,#1d80
	add hl,bc
	inc l
	inc l
	ex de,hl
	ld hl,(#c7d5)
	ld b,(ix+#01)
	ld c,(ix+#00)
	add hl,bc
	ld a,#15
.l79d7
	ld b,#19
	ex af,af'
	ld a,(de)
	ld c,a
	ld a,(bc)
	or a
	jr z,l79e1
	rst #00
.l79e1
	dec b
	inc hl
	ld a,(bc)
	or a
	jr z,l79e8
	rst #00
.l79e8
	inc b
	inc hl
	dec e
	ld a,(de)
	ld c,a
	ld a,(bc)
	or a
	jr z,l79f2
	rst #00
.l79f2
	dec b
	inc hl
	ld a,(bc)
	or a
	jr z,l79f9
	rst #00
.l79f9
	inc b
	inc hl
	dec e
	ld a,(de)
	ld c,a
	ld a,(bc)
	or a
	jr z,l7a03
	rst #00
.l7a03
	dec b
	inc hl
	ld a,(bc)
	or a
	jr z,l7a0a
	rst #00
.l7a0a
	inc e
	inc e
	inc e
	inc e
	inc e
	ld bc,#003f
	add hl,bc
	ex af,af'
	dec a
	jp nz,l79d7
.l7a18
	inc iy
	inc ix
	inc ix
	pop af
	dec a
	jp nz,l79b0
.l7a23
	pop af
	ret
.l7a25
	ld l,b
	ld h,#00
	add hl,hl
	ld de,l9efb
	add hl,de
	ld c,(hl)
	inc hl
	ld h,(hl)
	ld l,c
	ld de,#c7d8
	ld bc,#000c
	ldir
	ld e,a
	ld iy,#c7d8
	ret
.l7a3f
	push af
	xor a
	ld hl,(#c7d9)
	ld (#c7d8),hl
	ld (#c7da),a
	ld hl,(#c7dc)
	ld (#c7db),hl
	ld (#c7dd),a
	ld hl,(#c7df)
	ld (#c7de),hl
	ld (#c7e0),a
	ld hl,(#c7e2)
	ld (#c7e1),hl
	ld (#c7e3),a
	pop af
	ret
.l7a67
	ld b,#04
.l7a69
	ld (hl),#00
	inc hl
	inc hl
	inc hl
	djnz l7a69
	ret
.l7a71
	ld b,#04
.l7a73
	ld a,(iy+#00)
	ld c,(iy+#02)
	ld (iy+#00),c
	ld (iy+#02),a
	inc iy
	inc iy
	inc iy
	djnz l7a73
	ld iy,#c7d8
	ret
.l7a8c
	ld a,e
	cp #04
	call c,l7a3f
	ld a,e
	cp #07
	call c,l7a3f
	call c,l7ab5
	ret c
	ld hl,#c7d9
	ld a,e
	cp #26
	call nc,l7a67
	ld hl,#c7da
	ld a,e
	cp #23
	call nc,l7a67
	ld a,e
	sub #07
	call l7ac3
	ret
.l7ab5
	push af
	dec a
.l7ab7
	sub #03
	jp p,l7ab7
	add #03
	call l7ac3
	pop af
	ret
.l7ac3
	ld e,a
	ld d,#00
	sla e
	ld hl,#0100
	add hl,de
	ld (#c7d5),hl
	ret
	di
.l7ad1
	push bc
	ld b,#7f
	ld c,(hl)
	out (c),a
	set 6,c
	out (c),c
	inc a
	inc hl
	pop bc
	djnz l7ad1
	ei
	ret
	ei
	push af
	push hl
	push de
	push bc
	push ix
	push iy
	ld b,#f5
	in a,(c)
	and #01
	jr z,l7aff
	xor a
	ld (#c7d4),a
	ld a,(#c7ef)
	cp #03
	call z,l7b20
.l7aff
	ld a,(#c7d4)
	inc a
	ld (#c7d4),a
	ld a,(#c7d4)
	cp #02
	call z,l7dc2
	ld a,(#c7d4)
	cp #05
	call z,l7dc2
	pop iy
	pop ix
	pop bc
	pop de
	pop hl
	pop af
	reti
.l7b20
	ld a,(#c7f6)
	or a
	ret nz
	ld a,(#c7f0)
	and #80
	ret nz
	ld a,(#c7f5)
	or a
	ret nz
	ld a,(#c7f4)
	or a
	ret nz
	ld a,(#c7d7)
	or a
	jr z,l7b40
	dec a
	ld (#c7d7),a
	ret
.l7b40
	ld a,#32
	ld (#c7d7),a
	ld hl,#c7e9
	ld a,(hl)
	or a
	ret z
	dec a
	daa
	ld (hl),a
	ret
.l7b4f
	add l
	ld l,a
	jr nc,l7b54
	inc h
.l7b54
	ld a,(hl)
	ret
.l7b56
	push hl
	ld hl,l9139
	call l7b4f
	ld (#c7e8),a
	pop hl
	ld a,(hl)
	and #f0
	rrca
	rrca
	rrca
	rrca
	inc a
	ld de,#1b00
	call l7bd8
	inc c
	ld a,(hl)
	and #0f
	inc a
	call l7bd8
	ret
.l7b78
	push bc
.l7b79
	ld a,(hl)
	cp #24
	jr nz,l7b80
	pop bc
	ret
.l7b80
	cp #0d
	jr nz,l7b8a
	pop bc
	inc b
	push bc
	inc hl
	jr l7b79
.l7b8a
	cp #80
	jr c,l7b9e
	push hl
	and #7f
	ld hl,l9139
	call l7b4f
	ld (#c7e8),a
	pop hl
	inc hl
	jr l7b79
.l7b9e
	cp #30
	jr c,l7bb6
	cp #3a
	jr nc,l7baa
	sub #2f
	jr l7bce
.l7baa
	cp #41
	jr c,l7bb6
	cp #5b
	jr nc,l7bb6
	sub #36
	jr l7bce
.l7bb6
	push hl
	push bc
	ld bc,#0004
	ld hl,l9131
	ld de,l9134
.l7bc1
	inc de
	cpi
	jr z,l7bcb
	jp po,l7bcc
	jr l7bc1
.l7bcb
	ld a,(de)
.l7bcc
	pop bc
	pop hl
.l7bce
	ld de,#1b00
	call l7bd8
	inc hl
	inc c
	jr l7b79
.l7bd8
	push bc
	push hl
	push de
	ld l,a
	ld h,#00
	add hl,hl
	add hl,hl
	add hl,hl
	add hl,hl
	add hl,de
	ex de,hl
	ld a,b
	ld hl,l9149
	call l7c43
	ld b,#00
	sla c
	add hl,bc
	ld bc,(#c7e8)
	ld b,#08
.l7bf6
	push hl
	ld a,(de)
	and c
	ld (hl),a
	inc de
	inc hl
	ld a,(de)
	and c
	ld (hl),a
	inc de
	pop hl
	ld a,#08
	add h
	ld h,a
	djnz l7bf6
	pop de
	pop hl
	pop bc
	ret
	push ix
	push bc
	ld ix,l917c
	ld c,#64
	call l7c39
	ex af,af'
	ld a,b
	add #30
	ld (ix+#00),a
	ex af,af'
	ld c,#0a
	call l7c39
	add #30
	ld (ix+#02),a
	ld a,b
	add #30
	ld (ix+#01),a
	pop bc
	ld hl,l917b
	call l7b78
	pop ix
	ret
.l7c39
	ld b,#00
.l7c3b
	sub c
	jr c,l7c41
	inc b
	jr l7c3b
.l7c41
	add c
	ret
.l7c43
	push af
	push de
	ex de,hl
	ld l,a
	ld h,#00
	add hl,hl
	add hl,de
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	pop de
	pop af
	ret
	push af
	push bc
	ld b,#7f
	ld c,#10
	out (c),c
	or #40
	out (c),a
	pop bc
	pop af
	ret
	push de
	push bc
	xor a
	ld b,#7f
.l7c66
	ld c,(hl)
	di
	out (c),a
	set 6,c
	out (c),c
	ei
	inc hl
	inc a
	cp #10
	jr nz,l7c66
	pop bc
	pop de
	ret
.l7c78
	push bc
	ld b,#7f
	di
	ld c,(hl)
	out (c),a
	set 6,c
	out (c),c
	ei
	pop bc
	ret
.l7c86
	ld hl,#0000
	or a
	ret z
	push bc
	ld b,#08
.l7c8e
	srl a
	jp nc,l7c94
	add hl,de
.l7c94
	sla e
	rl d
	djnz l7c8e
	pop bc
	ret
.l7c9c
	ld b,#54
	ld hl,la58c
.l7ca1
	ld d,(hl)
	dec hl
	ld e,(hl)
	dec hl
	push de
	djnz l7ca1
	ld a,#54
	ld hl,#0104
.l7cad
	pop de
	call l7cba
	inc hl
	inc hl
	inc hl
	inc hl
	dec a
	jp nz,l7cad
	ret
.l7cba
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ldi
	ret
.l7d3b
	ld de,#0100
	ld hl,#a8a0
	ld bc,#1650
	ldir
	ret
	ld b,#54
	ld hl,la58c
.l7d4c
	ld d,(hl)
	dec hl
	ld e,(hl)
	dec hl
	push de
	djnz l7d4c
	ld a,#54
	ld de,#a8a4
.l7d58
	pop hl
	call l7cba
	inc de
	inc de
	inc de
	inc de
	dec a
	jp nz,l7d58
	ret
.l7d65
	ld de,#000e
	call l7c86
	ld de,#0040
	add hl,de
	ret
	exx
	ld i,a
	and l
	srl a
	ld e,a
	ld a,i
	and h
	add a
	or e
	ld e,a
	ld a,(de)
	ld b,a
	exx
	and (hl)
	ld (hl),a
	exx
	ld a,b
	cpl
	ld b,a
	ld a,e
	or c
	and b
	exx
	or (hl)
	ld (hl),a
	ret
.l7d8d
	ld h,#00
	add hl,hl
	ld de,l907d
	add hl,de
	push hl
	ld de,#0030
	call l8160
	ld de,l82d3
	add hl,de
	push hl
	pop ix
	pop hl
	ld e,(hl)
	inc hl
	ld d,(hl)
	ld (ix+#00),e
	ld (ix+#01),d
	ld (ix+#02),e
	ld (ix+#03),d
	xor a
	ld d,#2c
	push ix
.l7db7
	ld (ix+#04),a
	inc ix
	dec d
	jr nz,l7db7
	pop ix
	ret
;
.real_play_music
.l7dc2
;
	push af
	ld b,#03
	xor a
	ld ix,l82d3
	ld de,l82c8
	ld hl,l82d0
.l7dd0
	push af
	push hl
	push de
	push bc
	ld (l82c6),a
	ld a,(ix+#04)
	or (ix+#05)
	jp nz,l7e36
	ld a,#00
	call l810b
	ld c,(ix+#02)
	ld b,(ix+#03)
	ld a,b
	or c
	jp z,l7ef3
.l7df0
	ld a,(bc)
	cp #80
	jp c,l7dff
	sub #80
	ld hl,l829f
	call l8132
	jp (hl)
.l7dff
	ld hl,l81df
	call l8132
	ld (ix+#0a),l
	ld (ix+#0b),h
	inc bc
.l7e0c
	ld a,(ix+#08)
	call l810b
	call l7fa3
	ld (ix+#2a),#00
	call l7f8b
	ld (ix+#2b),#00
	ld (ix+#2c),#00
.l7e24
	ld (ix+#02),c
	ld (ix+#03),b
	ld l,(ix+#06)
	ld h,(ix+#07)
	ld (ix+#04),l
	ld (ix+#05),h
.l7e36
	ld l,(ix+#04)
	ld h,(ix+#05)
	dec hl
	ld (ix+#04),l
	ld (ix+#05),h
	push ix
	pop iy
	ld d,#02
	ld c,#00
.l7e4b
	ld a,(iy+#0c)
	or a
	jr z,l7e58
	dec a
	ld (iy+#0c),a
	inc c
	jr l7e79
.l7e58
	ld a,(iy+#0e)
	or a
	jr z,l7e74
	dec a
	ld (iy+#0e),a
	ld a,(ix+#2a)
	add (iy+#1b)
	ld (ix+#2a),a
	ld a,(iy+#20)
	ld (iy+#0c),a
	inc c
	jr l7e79
.l7e74
	inc iy
	dec d
	jr nz,l7e4b
.l7e79
	ld a,c
	or a
	jr nz,l7e88
	ld (ix+#2a),#00
	bit 0,(ix+#2d)
	call nz,l7fa3
.l7e88
	push ix
	pop iy
	ld d,#03
	ld c,#00
.l7e90
	ld a,(iy+#10)
	or a
	jr z,l7e9d
	dec a
	ld (iy+#10),a
	inc c
	jr l7ee8
.l7e9d
	ld a,(iy+#13)
	or a
	jr z,l7ee3
	dec a
	ld (iy+#13),a
	ld a,(iy+#1d)
	or a
	jp p,l7ec7
	ld a,(iy+#1d)
	cpl
	inc a
	ld e,a
	ld a,(ix+#2b)
	sub e
	ld (ix+#2b),a
	ld a,(ix+#2c)
	sbc #00
	and #0f
	ld (ix+#2c),a
	jr l7eda
.l7ec7
	ld a,(ix+#2b)
	add (iy+#1d)
	ld (ix+#2b),a
	ld a,(ix+#2c)
	adc #00
	and #0f
	ld (ix+#2c),a
.l7eda
	ld a,(iy+#22)
	ld (iy+#10),a
	inc c
	jr l7ee8
.l7ee3
	inc iy
	dec d
	jr nz,l7e90
.l7ee8
	ld a,c
	or a
	jr nz,l7ef3
	bit 1,(ix+#2d)
	call nz,l7f8b
.l7ef3
	pop bc
	pop de
	pop hl
	ld a,(ix+#09)
	add (ix+#2a)
	and #0f
	ld (hl),a
	ld a,(ix+#0a)
	add (ix+#2b)
	ld (de),a
	inc de
	ld a,(ix+#0b)
	adc (ix+#2c)
	ld (de),a
	inc de
	push de
	ld de,#0030
	add ix,de
	pop de
	pop af
	inc a
	inc hl
	dec b
	jp nz,l7dd0
	ld iy,l8363
	ld d,#02
	ld c,#00
.l7f25
	ld a,(iy+#00)
	or a
	jr z,l7f32
	dec a
	ld (iy+#00),a
	inc c
	jr l7f53
.l7f32
	ld a,(iy+#02)
	or a
	jr z,l7f4e
	dec a
	ld (iy+#02),a
	ld a,(l836f)
	add (iy+#06)
	ld (l836f),a
	ld a,(iy+#08)
	ld (iy+#00),a
	inc c
	jr l7f53
.l7f4e
	inc iy
	dec d
	jr nz,l7f25
.l7f53
	ld a,c
	or a
	jr nz,l7f5f
	ld a,(l836d)
	bit 2,a
	call nz,l7f6f
.l7f5f
	ld a,(l836e)
	ld e,a
	ld a,(l836f)
	add e
	ld (l82ce),a
	call l8176
	pop af
	ret
.l7f6f
	ld d,#02
	push iy
	ld iy,l8363
.l7f77
	ld a,(iy+#08)
	ld (iy+#00),a
	ld a,(iy+#04)
	ld (iy+#02),a
	inc iy
	dec d
	jr nz,l7f77
	pop iy
	ret
.l7f8b
	ld d,#03
	push ix
.l7f8f
	ld a,(ix+#22)
	ld (ix+#10),a
	ld a,(ix+#18)
	ld (ix+#13),a
	inc ix
	dec d
	jr nz,l7f8f
	pop ix
	ret
.l7fa3
	push ix
	ld d,#02
.l7fa7
	ld a,(ix+#20)
	ld (ix+#0c),a
	ld a,(ix+#16)
	ld (ix+#0e),a
	inc ix
	dec d
	jr nz,l7fa7
	pop ix
	ret
.l7fbb
	inc bc
	ld a,(bc)
	ld l,a
	ld h,#00
	add hl,hl
	ld de,l907d
	add hl,de
	inc bc
	ld (ix+#2e),c
	ld (ix+#2f),b
	ld c,(hl)
	inc hl
	ld b,(hl)
	jp l7df0
.l7fd2
	ld c,(ix+#2e)
	ld b,(ix+#2f)
	jp l7df0
.l7fdb
	push ix
	push bc
	ld a,(l82c6)
	ld de,#0000
	call l7d8d
	pop bc
	pop ix
	jp l7e0c
.l7fed
	inc bc
	ld a,(bc)
	ld (ix+#09),a
	inc bc
	jp l7df0
.l7ff6
	inc bc
	ld a,(bc)
	and #09
	ld (ix+#08),a
	inc bc
	jp l7df0
.l8001
	ld c,(ix+#00)
	ld b,(ix+#01)
	ld (ix+#02),c
	ld (ix+#03),b
	jp l7df0
.l8010
	inc bc
	ld a,(bc)
	ld de,(l82c7)
	ld d,#00
	call l8160
	ld (ix+#06),l
	ld (ix+#07),h
	inc bc
	jp l7df0
.l8025
	inc bc
	jp l7e24
.l8029
	inc bc
	ld a,(bc)
	inc bc
	ld de,#0000
.l802f
	push af
	ld a,(bc)
	push de
	ld de,(l82c7)
	ld d,#00
	call l8160
	pop de
	add hl,de
	ex de,hl
	inc bc
	pop af
	dec a
	jr nz,l802f
	ld (ix+#06),l
	ld (ix+#07),h
	jp l7df0
.l804c
	inc bc
	ld a,(bc)
	push bc
	ld de,#0008
	call l8160
	ld bc,#1770
	push hl
	pop de
	call l8146
	ld a,c
	ld (l82c7),a
	pop bc
	inc bc
	jp l7df0
.l8066
	inc bc
	ld a,(bc)
	ld e,a
	or (ix+#2d)
	ld (ix+#2d),a
	ld a,(l836d)
	or e
	ld (l836d),a
	inc bc
	jp l7df0
.l807a
	inc bc
	res 0,(ix+#2d)
	res 1,(ix+#2d)
	ld a,(bc)
	ld de,#000f
	call l8160
	ld de,l8370
	add hl,de
	push ix
	ld d,#0f
.l8092
	ld a,(hl)
	ld (ix+#16),a
	inc hl
	inc ix
	dec d
	jp nz,l8092
	pop ix
	inc bc
	ld (ix+#0c),#00
	ld (ix+#0d),#00
	ld (ix+#10),#00
	ld (ix+#11),#00
	ld (ix+#12),#00
	ld (ix+#2a),#00
	ld (ix+#2b),#00
	ld (ix+#2c),#00
	jp l7df0
.l80c3
	inc bc
	ld a,(bc)
	push af
	and #1f
	ld (l836e),a
	call l7f6f
	pop af
	inc bc
	or a
	jp m,l7df0
	jp l7e0c
.l80d7
	inc bc
	ld a,(l836d)
	res 2,a
	ld (l836d),a
	ld a,(bc)
	ld de,#0006
	call l8160
	ld de,l85e6
	add hl,de
	ld iy,l8363
	ld (iy+#00),#00
	ld (iy+#01),#00
	ld d,#06
.l80f9
	ld a,(hl)
	ld (iy+#04),a
	inc hl
	inc iy
	dec d
	jr nz,l80f9
	xor a
	ld (l836f),a
	inc bc
	jp l7df0
.l810b
	push de
	cpl
	ld e,a
	ld d,#09
	ld a,(l82c6)
.l8113
	dec a
	jp m,l811e
	scf
	rl e
	sla d
	jr l8113
.l811e
	ld a,(l82cf)
	or d
	and e
	ld (l82cf),a
	pop de
	ret
	push de
	ex de,hl
	ld l,a
	ld h,#00
	add hl,hl
	add hl,hl
	add hl,de
	pop de
	ret
.l8132
	push af
	add a
	add l
	ld l,a
	jr nc,l8139
	inc h
.l8139
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
	pop af
	ret
	add l
	ld l,a
	jr nc,l8144
	inc h
.l8144
	ld a,(hl)
	ret
.l8146
	push af
	ld hl,#0000
	ld a,b
	ld b,#10
.l814d
	rl c
	rla
	adc hl,hl
	sbc hl,de
	jr nc,l8157
	add hl,de
.l8157
	ccf
	djnz l814d
	rl c
	rla
	ld b,a
	pop af
	ret
.l8160
	ld hl,#0000
	cp #00
	ret z
	push bc
	ld b,#08
.l8169
	srl a
	jr nc,l816e
	add hl,de
.l816e
	sla e
	rl d
	djnz l8169
	pop bc
	ret
.l8176
	ld b,#f7
	ld c,#82
	out (c),c
	ld hl,l82c8
	xor a
	ld d,#0b
.l8182
	push af
	ld c,(hl)
	ld b,#f4
	out (c),a
	ld b,#f6
	in a,(c)
	or #c0
	out (c),a
	and #3f
	out (c),a
	ld b,#f4
	out (c),c
	ld b,#f6
	ld c,a
	or #80
	out (c),a
	out (c),c
	pop af
	inc a
	inc hl
	dec d
	jr nz,l8182
	ld d,#0a
	ld e,#00
	ld hl,l82bc
.l81ae
	ld b,#f7
	ld c,#82
	out (c),c
	ld b,#f4
	ld a,#0e
	out (c),a
	ld b,#f6
	in a,(c)
	or #c0
	or e
	ld c,a
	and #3f
	out (c),c
	out (c),a
	inc b
	ld c,#92
	out (c),c
	dec b
	or #40
	out (c),a
	ld b,#f4
	in a,(c)
	cpl
	ld (hl),a
	inc hl
	inc e
	dec d
	jp nz,l81ae
	ret
.l81df
	dw #0eee,#0e18,#0d4d,#0c8e
	dw #0bda,#0b2f,#0a8f,#09f7
	dw #0968,#08e1,#0861,#07e9
	dw #0777,#070c,#06a7,#0647
	dw #05ed,#0598,#0547,#04fc
	dw #04b4,#0470,#0431,#03f4
	dw #03bc,#0386,#0353,#0324
	dw #02f6,#02cc,#02a4,#027e
	dw #025a,#0238,#0218,#01fa
	dw #01de,#01c3,#01aa,#0192
	dw #017b,#0166,#0152,#013f
	dw #012d,#011c,#010c,#00fd
	dw #00ef,#00e1,#00d5,#00c9
	dw #00be,#00b3,#00a9,#009f
	dw #0096,#008e,#0086,#007f
	dw #0077,#0071,#006a,#0064
	dw #005f,#0059,#0054,#0050
	dw #004b,#0047,#0043,#003f
	dw #003c,#0038,#0035,#0032
	dw #002f,#002d,#002a,#0028
	dw #0026,#0024,#0022,#0020
	dw #001e,#001c,#001b,#0019
	dw #0018,#0016,#0015,#0014
	dw #0013,#0012,#0011,#0010
.l829f
	dw l7fed,l7ff6,l8001,l8010
	dw l8025,l804c,l8029,l807a
	dw l80c3,l80d7,l8066,l7fdb
.l82bc equ $ + 5
	dw l7fbb,l7fd2,#0000
.l82c4 equ $ + 7
.l82c2 equ $ + 5
.l82c1 equ $ + 4
.l82be equ $ + 1
.l82bd
	db #00,#00,#00,#00,#00,#00,#00,#00
.l82c8 equ $ + 3
.l82c7 equ $ + 2
.l82c6 equ $ + 1
.l82c5
	db #00,#00,#00,#00,#00,#00,#00,#00
.l82d0 equ $ + 3
.l82cf equ $ + 2
.l82ce equ $ + 1
	db #00,#00,#00,#00,#00,#00
.l82d3
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.l8363 equ $ + 3
	db #00,#00,#00,#00,#00,#00,#00,#00
.l836f equ $ + 7
.l836e equ $ + 6
.l836d equ $ + 5
	db #00,#00,#00,#00,#00,#00,#00,#00
.l8370
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#01
	db #07,#00,#00,#00,#05,#fe,#00,#00
	db #00,#00,#02,#00,#00,#00,#01,#0f
	db #00,#00,#00,#08,#ff,#00,#00,#00
	db #00,#02,#00,#00,#00,#04,#0c,#00
	db #00,#00,#01,#ff,#00,#00,#00,#00
	db #15,#00,#00,#00,#01,#06,#00,#00
	db #00,#05,#ff,#00,#00,#00,#00,#00
	db #00,#00,#00,#01,#0f,#00,#00,#00
	db #07,#ff,#00,#00,#00,#00,#03,#00
	db #00,#00,#01,#0a,#00,#00,#00,#05
	db #ff,#00,#00,#00,#00,#2e,#00,#00
	db #00,#01,#0f,#00,#00,#00,#07,#ff
	db #00,#00,#00,#00,#06,#00,#00,#00
	db #01,#0a,#02,#02,#00,#04,#ff,#cc
	db #34,#00,#00,#01,#00,#00,#00,#01
	db #0f,#00,#00,#00,#03,#ff,#00,#00
	db #00,#00,#02,#00,#00,#00,#01,#0f
	db #00,#00,#00,#06,#ff,#00,#00,#00
	db #00,#27,#00,#00,#00,#05,#0f,#01
	db #01,#00,#01,#ff,#fb,#05,#00,#05
	db #0f,#01,#01,#00,#01,#0c,#00,#00
	db #00,#06,#ff,#00,#00,#00,#00,#6d
	db #00,#00,#00,#04,#0f,#00,#00,#00
	db #02,#ff,#00,#00,#00,#00,#0f,#00
	db #00,#00,#01,#0f,#01,#01,#00,#05
	db #ff,#02,#fe,#00,#00,#11,#00,#00
	db #00,#07,#0f,#01,#01,#00,#01,#ff
	db #ff,#01,#00,#03,#2b,#07,#07,#00
	db #04,#0f,#02,#02,#00,#01,#ff,#fe
	db #02,#00,#09,#12,#00,#00,#00,#01
	db #06,#01,#01,#00,#06,#fe,#fe,#02
	db #00,#00,#02,#00,#00,#00,#01,#0f
	db #00,#00,#00,#05,#ff,#00,#00,#00
	db #00,#05,#00,#00,#00,#01,#0f,#01
	db #01,#00,#07,#ff,#01,#ff,#00,#00
	db #02,#00,#00,#00,#01,#04,#01,#01
	db #00,#05,#ff,#01,#ff,#00,#00,#00
	db #00,#01,#00,#01,#04,#01,#01,#00
	db #06,#ff,#ff,#01,#00,#00,#00,#00
	db #00,#00,#01,#0c,#01,#01,#00,#05
	db #ff,#01,#ff,#00,#00,#15,#00,#00
	db #00,#02,#0a,#01,#01,#00,#02,#ff
	db #ff,#01,#00,#00,#1a,#00,#00,#00
	db #01,#01,#01,#01,#00,#04,#ff,#e5
	db #1b,#00,#01,#01,#01,#01,#00,#01
	db #0c,#01,#01,#00,#03,#ff,#ff,#01
	db #00,#00,#11,#00,#00,#00,#01,#0c
	db #01,#01,#00,#03,#ff,#ff,#01,#00
	db #00,#03,#00,#00,#00,#01,#0e,#00
	db #00,#00,#07,#ff,#00,#00,#00,#02
	db #02,#00,#00,#00,#06,#02,#01,#01
	db #00,#01,#ff,#0f,#f1,#00,#00,#01
	db #00,#00,#00,#01,#0a,#01,#01,#00
	db #03,#ff,#fd,#02,#00,#00,#01,#00
	db #00,#00,#01,#0d,#01,#00,#00,#06
	db #ff,#ff,#00,#00,#00,#04,#00,#00
	db #00,#04,#09,#01,#00,#00,#01,#ff
	db #ff,#00,#00,#00,#05,#04,#00,#00
	db #01,#0d,#00,#00,#00,#08,#ff,#00
	db #00,#00,#00,#00,#00,#00,#00,#08
	db #0c,#00,#00,#00,#01,#ff,#00,#00
	db #00,#02,#05,#00,#00,#00,#01,#0b
	db #08,#08,#00,#06,#ff,#f4,#0c,#00
	db #01,#02,#00,#00,#00,#01,#05,#01
	db #01,#00,#01,#fe,#fd,#03,#00,#00
	db #00,#00,#00,#00,#01,#04,#01,#01
	db #00,#01,#fc,#fd,#03,#00,#00,#00
	db #00,#00,#00,#01,#05,#01,#01,#00
	db #01,#fd,#fd,#03,#00,#00,#00,#00
	db #00,#00,#01,#05,#01,#01,#00,#01
	db #fd,#fd,#03,#00,#00,#00,#00,#00
	db #00,#05,#0c,#00,#00,#00,#01,#ff
	db #00,#00,#00,#01,#01,#00,#00,#00
	db #02,#01,#00,#00,#00,#04,#ff,#00
	db #00,#00,#00,#00,#00,#00,#00,#01
	db #0f,#01,#00,#00,#04,#ff,#01,#00
.l85e6 equ $ + 6
	db #00,#00,#03,#08,#00,#00,#05,#07
	db #fd,#03,#01,#01,#00,#00,#00,#00
	db #00
.l85f2 equ $ + 1
	db #00,#8c,#0d,#8c,#0d,#8c,#10,#8c
	db #11,#8c,#10,#8c,#12,#8c,#13,#8c
	db #10,#8c,#14,#8c,#15,#8c,#1e,#8c
	db #20,#8c,#10,#8c,#11,#8c,#10,#8c
	db #12,#8c,#13,#8c,#10,#8c,#14,#8c
	db #15,#8c,#1e,#8c,#2f,#8c,#23,#8c
	db #23,#8c,#23,#8c,#23,#8c,#23,#8c
	db #23,#8c,#23,#8c,#23,#8c,#23,#8c
	db #23,#8c,#23,#8c,#23,#8c,#23,#8c
	db #23,#8c,#23,#8c,#23,#8c,#23,#8c
	db #23,#8c,#23,#8c,#23,#8c,#23,#8c
	db #23,#8c,#23,#8c,#23,#8c,#23,#8c
	db #23,#8c,#23,#8c,#23,#8c,#23,#8c
	db #23,#8c,#23,#8c,#35,#8c,#36,#8c
	db #37,#8c,#35,#8c,#36,#8c,#3b,#8c
	db #3e,#8c,#3f,#8c,#3f,#8c,#43,#8c
.l8673 equ $ + 2
	db #43,#82,#8c,#0e,#8c,#18,#8c,#0e
	db #8c,#18,#8c,#16,#8c,#0e,#8c,#18
	db #8c,#16,#8c,#0e,#8c,#17,#8c,#16
	db #8c,#0e,#8c,#18,#8c,#19,#8c,#1f
	db #8c,#21,#8c,#16,#8c,#0e,#8c,#18
	db #8c,#16,#8c,#0e,#8c,#17,#8c,#16
	db #8c,#0e,#8c,#18,#8c,#19,#8c,#1f
	db #8c,#30,#8c,#24,#8c,#38,#8c,#39
	db #8c,#38,#8c,#39,#8c,#40,#8c,#41
.l86c0 equ $ + 7
	db #8c,#41,#8c,#44,#8c,#44,#82,#8c
	db #0f,#8c,#1a,#8c,#0f,#8c,#1a,#8c
	db #0f,#8c,#1a,#8c,#0f,#8c,#1a,#8c
	db #0f,#8c,#1a,#8c,#0f,#8c,#1b,#8c
	db #0f,#8c,#1a,#8c,#0f,#8c,#1a,#8c
	db #1c,#8c,#1d,#8c,#22,#8c,#0f,#8c
	db #1a,#8c,#0f,#8c,#1a,#8c,#0f,#8c
	db #1a,#8c,#0f,#8c,#1b,#8c,#0f,#8c
	db #1a,#8c,#0f,#8c,#1a,#8c,#1c,#8c
	db #1d,#8c,#31,#8c,#25,#8c,#3a,#8c
	db #3c,#8c,#3c,#8c,#3c,#8c,#3c,#8c
	db #3d,#8c,#3a,#8c,#3c,#8c,#3c,#8c
	db #3c,#8c,#3c,#8c,#3d,#8c,#40,#8c
	db #42,#8c,#42,#8c,#42,#8c,#42,#8c
	db #42,#8c,#42,#8c,#45,#8c,#45,#82
.l8738 equ $ + 7
.l8731
	db #8c,#43,#8c,#43,#8c,#46,#82,#8c
.l873f equ $ + 6
	db #44,#8c,#44,#8c,#47,#82,#8c,#45
.l8746 equ $ + 5
	db #8c,#45,#8c,#48,#82,#8c,#0d,#8c
.l874b equ $ + 2
	db #0d,#82,#8c,#0e,#8c,#18,#8c,#0e
.l8754 equ $ + 3
	db #8c,#18,#82,#8c,#0f,#8c,#1a,#8c
.l8760 equ $ + 7
.l875f equ $ + 6
.l875e equ $ + 5
.l875d equ $ + 4
	db #0f,#8c,#1a,#82,#8b,#8b,#8b,#85
	db #56,#83,#12,#81,#01,#80,#06,#87
	db #02,#84,#83,#02,#21,#26,#21,#83
	db #0a,#84,#83,#02,#21,#26,#21,#24
.l877b equ $ + 2
	db #21,#8d,#83,#01,#81,#09,#80,#06
	db #87,#04,#88,#9f,#19,#84,#81,#01
	db #87,#03,#26,#84,#81,#09,#87,#04
	db #88,#9f,#15,#84,#19,#84,#81,#01
	db #87,#03,#24,#84,#81,#09,#87,#04
	db #88,#9f,#15,#84,#84,#84,#1a,#84
	db #81,#01,#87,#03,#26,#84,#83,#02
	db #87,#02,#21,#26,#21,#81,#09,#83
	db #01,#87,#04,#88,#9f,#1a,#84,#81
	db #01,#87,#03,#24,#84,#81,#09,#87
	db #04,#88,#9f,#15,#84,#1a,#84,#81
.l87d7 equ $ + 6
	db #01,#87,#03,#26,#84,#8d,#83,#04
	db #81,#01,#80,#06,#87,#02,#1a,#83
	db #02,#15,#83,#04,#1a,#15,#1a,#83
	db #02,#15,#1a,#15,#83,#04,#1a,#83
.l87f7 equ $ + 6
	db #02,#15,#83,#04,#1a,#8d,#85,#56
	db #83,#02,#81,#01,#80,#06,#87,#05
	db #32,#39,#39,#83,#04,#87,#07,#37
	db #39,#37,#83,#02,#87,#05,#39,#3c
	db #3b,#39,#39,#37,#83,#04,#87,#07
	db #39,#83,#02,#87,#05,#37,#35,#34
.l8824 equ $ + 3
	db #32,#30,#8d,#85,#56,#83,#28,#81
	db #01,#80,#06,#87,#06,#2d,#83,#04
.l8833 equ $ + 2
	db #84,#8d,#85,#56,#83,#20,#81,#01
	db #80,#06,#87,#06,#32,#83,#04,#84
.l8842 equ $ + 1
	db #8d,#85,#56,#83,#02,#81,#01,#80
	db #06,#87,#05,#35,#35,#35,#83,#04
	db #87,#07,#34,#83,#02,#87,#05,#32
	db #83,#04,#87,#07,#34,#37,#83,#02
	db #87,#05,#35,#34,#32,#39,#37,#34
	db #35,#35,#35,#83,#04,#87,#07,#34
	db #83,#02,#87,#05,#32,#83,#04,#87
	db #07,#34,#37,#83,#02,#87,#05,#35
.l8887 equ $ + 6
	db #37,#39,#39,#37,#39,#8d,#85,#56
	db #83,#28,#81,#01,#80,#06,#87,#06
.l8896 equ $ + 5
	db #32,#83,#04,#84,#8d,#85,#56,#83
	db #02,#81,#01,#80,#06,#87,#05,#32
	db #32,#32,#83,#04,#87,#07,#35,#83
	db #02,#87,#05,#32,#35,#37,#83,#04
	db #87,#07,#39,#83,#02,#87,#05,#32
	db #35,#3a,#39,#35,#39,#3f,#83,#04
.l88c5 equ $ + 4
	db #87,#07,#3e,#8d,#83,#02,#81,#01
	db #80,#09,#87,#01,#2d,#32,#32,#83
	db #04,#30,#32,#30,#83,#02,#32,#35
	db #30,#32,#32,#30,#83,#04,#32,#83
.l88e8 equ $ + 7
	db #02,#30,#2e,#2d,#2b,#29,#8d,#83
	db #02,#81,#01,#80,#09,#87,#01,#21
	db #32,#32,#32,#83,#04,#30,#83,#02
	db #2b,#83,#04,#30,#34,#83,#02,#32
	db #30,#2d,#35,#34,#30,#32,#32,#32
	db #83,#04,#30,#83,#02,#2b,#83,#04
	db #30,#34,#83,#02,#35,#37,#39,#3e
.l891c equ $ + 3
	db #3c,#3e,#8d,#83,#02,#81,#01,#80
	db #06,#87,#02,#15,#26,#21,#24,#21
.l892a equ $ + 1
	db #8d,#83,#02,#81,#01,#80,#09,#87
	db #01,#26,#26,#26,#83,#04,#29,#83
	db #02,#26,#29,#2b,#83,#04,#2d,#83
	db #02,#32,#35,#3a,#39,#35,#39,#3f
.l894d equ $ + 4
	db #83,#04,#3e,#8d,#83,#02,#81,#01
	db #80,#06,#87,#02,#15,#1a,#15,#18
.l895b equ $ + 2
	db #15,#8d,#83,#02,#81,#01,#80,#06
	db #87,#02,#15,#16,#16,#16,#83,#04
	db #18,#1f,#18,#83,#02,#1f,#24,#1f
	db #18,#1f,#24,#18,#16,#16,#16,#83
	db #04,#18,#1f,#83,#02,#18,#24,#24
.l8988 equ $ + 7
	db #22,#21,#22,#24,#22,#21,#8d,#83
	db #02,#81,#01,#80,#06,#87,#02,#1a
	db #1a,#1a,#83,#04,#1d,#83,#02,#1a
	db #1d,#1f,#83,#04,#21,#83,#02,#1a
	db #1d,#22,#21,#1d,#21,#27,#83,#04
.l89ab equ $ + 2
	db #26,#8d,#83,#02,#81,#01,#80,#06
	db #87,#02,#39,#35,#39,#83,#04,#3e
	db #40,#83,#02,#2e,#2e,#2e,#83,#04
	db #2b,#1f,#83,#02,#18,#1f,#83,#04
	db #24,#83,#02,#18,#1f,#18,#16,#16
	db #16,#83,#04,#18,#1f,#83,#02,#24
.l89de equ $ + 5
	db #18,#1f,#24,#1f,#8d,#85,#56,#83
	db #02,#81,#01,#80,#06,#87,#05,#39
	db #35,#39,#3e,#45,#43,#45,#41,#41
	db #41,#83,#04,#87,#07,#40,#83,#02
	db #87,#05,#3e,#83,#04,#87,#07,#40
	db #43,#83,#02,#87,#05,#41,#40,#3e
	db #3c,#2d,#2d,#2d,#83,#04,#87,#07
	db #2b,#83,#02,#87,#05,#29,#2b,#2b
.l8a1e equ $ + 5
	db #30,#32,#34,#37,#8d,#83,#02,#81
	db #01,#80,#09,#87,#01,#32,#2d,#32
	db #39,#3e,#83,#04,#3c,#83,#02,#3e
	db #3e,#3e,#83,#04,#3c,#83,#02,#37
	db #83,#04,#3c,#40,#83,#02,#3e,#3c
	db #39,#37,#35,#35,#35,#83,#04,#34
	db #83,#02,#32,#83,#04,#34,#83,#02
.l8a56 equ $ + 5
	db #34,#37,#3c,#40,#8d,#85,#56,#83
	db #02,#81,#01,#80,#06,#87,#05,#41
	db #41,#41,#83,#04,#87,#07,#40,#83
	db #02,#87,#05,#3e,#83,#04,#87,#07
	db #40,#43,#83,#02,#41,#40,#3e,#3c
	db #3a,#39,#37,#35,#34,#32,#30,#2e
	db #83,#1e,#87,#06,#2d,#83,#01,#87
	db #05,#2d,#2b,#83,#1e,#87,#06,#2d
	db #83,#01,#87,#05,#2d,#2b,#83,#18
	db #87,#06,#2d,#83,#02,#87,#05,#84
.l8aa5 equ $ + 4
	db #32,#32,#30,#8d,#83,#02,#81,#01
	db #80,#09,#87,#01,#3e,#3e,#3e,#83
	db #04,#3c,#83,#02,#37,#83,#04,#3c
	db #40,#83,#02,#3e,#3c,#39,#37,#35
	db #34,#32,#30,#2e,#2d,#2b,#29,#83
	db #1e,#80,#06,#87,#06,#34,#83,#01
	db #34,#32,#83,#1e,#34,#83,#01,#34
	db #32,#83,#18,#34,#83,#02,#84,#39
.l8ae4 equ $ + 3
	db #39,#37,#8d,#83,#02,#81,#01,#80
	db #06,#87,#02,#22,#22,#22,#83,#04
	db #18,#83,#02,#1f,#24,#18,#1c,#1f
	db #24,#18,#1f,#18,#32,#30,#2e,#2d
	db #2b,#29,#28,#26,#83,#02,#21,#83
	db #04,#21,#83,#02,#21,#83,#02,#22
	db #83,#04,#22,#83,#02,#22,#83,#02
	db #1f,#83,#04,#1f,#83,#02,#1f,#83
	db #02,#1c,#83,#04,#1c,#83,#02,#1c
	db #83,#02,#15,#83,#04,#15,#83,#02
	db #15,#83,#02,#16,#83,#04,#16,#83
	db #02,#16,#83,#02,#13,#83,#04,#13
	db #83,#02,#13,#83,#02,#10,#83,#04
	db #10,#83,#02,#10,#83,#18,#87,#06
	db #15,#83,#02,#84,#35,#35,#34,#8d
.l8b59
	db #85,#56,#83,#02,#81,#01,#80,#07
	db #87,#08,#8a,#02,#3e,#87,#09,#32
.l8b6c equ $ + 3
	db #32,#32,#8d,#83,#30,#81,#01,#80
	db #06,#87,#0a,#1a,#83,#04,#84,#83
	db #08,#87,#0b,#8a,#02,#32,#30,#2c
	db #26,#24,#20,#83,#02,#1a,#18,#1a
	db #18,#1a,#18,#83,#2c,#87,#0c,#14
	db #83,#08,#87,#0b,#8a,#02,#32,#30
	db #2c,#26,#24,#20,#83,#02,#1a,#18
	db #1a,#18,#1a,#18,#83,#20,#87,#0c
.l8bab equ $ + 2
	db #14,#8d,#83,#30,#81,#01,#80,#06
	db #87,#0a,#1a,#83,#08,#87,#0d,#32
	db #30,#2c,#26,#24,#20,#83,#02,#1a
	db #18,#1a,#18,#1a,#18,#83,#2c,#87
	db #0c,#14,#83,#08,#87,#0d,#32,#30
	db #2c,#26,#24,#20,#83,#02,#1a,#18
	db #1a,#18,#1a,#18,#83,#24,#87,#0c
.l8be8 equ $ + 7
.l8be7 equ $ + 6
.l8be6 equ $ + 5
.l8be5 equ $ + 4
.l8be4 equ $ + 3
.l8be3 equ $ + 2
	db #14,#8d,#8b,#8b,#8b,#8b,#8b,#8b
.l8bec equ $ + 3
.l8beb equ $ + 2
.l8bea equ $ + 1
.l8be9
	db #8b,#8b,#8b,#85,#56,#83,#02,#81
	db #01,#80,#06,#87,#05,#41,#41,#41
	db #83,#04,#87,#07,#40,#83,#02,#87
	db #05,#3e,#83,#04,#87,#07,#40,#43
	db #83,#02,#87,#05,#41,#40,#3e,#3c
	db #3a,#39,#37,#35,#34,#32,#30,#2e
.l8c1e equ $ + 5
	db #2d,#2b,#29,#24,#8d,#83,#02,#81
	db #01,#80,#09,#87,#01,#3e,#3e,#3e
	db #83,#04,#3c,#83,#02,#80,#06,#87
	db #05,#37,#83,#04,#3c,#3c,#83,#02
	db #3a,#39,#37,#35,#33,#32,#30,#2e
	db #2d,#2b,#29,#27,#26,#24,#22,#1d
.l8c4a equ $ + 1
	db #8d,#83,#02,#81,#01,#80,#06,#87
	db #02,#22,#22,#22,#83,#04,#18,#83
	db #02,#1f,#24,#1f,#18,#24,#2e,#2d
	db #2b,#29,#27,#26,#24,#22,#21,#1f
.l8c70 equ $ + 7
	db #1d,#1b,#1a,#18,#16,#11,#8d,#8b
.l8c73 equ $ + 2
.l8c72 equ $ + 1
.l8c71
	db #8b,#8b,#85,#56,#83,#01,#81,#01
	db #80,#06,#87,#0e,#3e,#3f,#3c,#3e
	db #3a,#3c,#39,#3a,#37,#39,#35,#37
	db #33,#35,#32,#33,#32,#33,#32,#33
	db #35,#37,#39,#3a,#3c,#3e,#3f,#41
.l8c9e equ $ + 5
	db #43,#45,#46,#48,#8d,#85,#56,#83
	db #10,#81,#01,#80,#06,#87,#0e,#4a
	db #48,#46,#45,#43,#41,#40,#3e,#3c
.l8cb7 equ $ + 6
	db #3a,#39,#37,#35,#34,#8d,#85,#56
	db #83,#08,#83,#08,#81,#01,#80,#06
	db #87,#0e,#32,#83,#01,#39,#3a,#37
	db #39,#35,#37,#34,#35,#32,#33,#30
.l8cd7 equ $ + 6
	db #32,#2e,#30,#2d,#2e,#8d,#83,#20
	db #81,#01,#80,#06,#87,#0f,#8a,#02
.l8ce3 equ $ + 2
	db #32,#8d,#83,#08,#81,#01,#80,#07
	db #87,#10,#8a,#02,#84,#83,#10,#4a
	db #48,#46,#45,#43,#41,#40,#3e,#3c
	db #3a,#39,#37,#35,#83,#08,#34,#83
.l8d04 equ $ + 3
	db #18,#32,#8d,#83,#20,#81,#01,#80
.l8d10 equ $ + 7
	db #06,#87,#0f,#8a,#02,#1a,#8d,#83
	db #18,#81,#01,#80,#06,#87,#0e,#32
.l8d1a equ $ + 1
	db #8d,#83,#02,#81,#01,#80,#07,#87
	db #05,#1a,#80,#09,#87,#01,#26,#80
	db #07,#87,#05,#15,#80,#09,#87,#01
	db #21,#80,#07,#87,#05,#18,#80,#09
	db #87,#01,#24,#80,#07,#87,#05,#15
	db #83,#04,#1a,#83,#02,#15,#1a,#15
	db #83,#04,#1a,#83,#02,#15,#83,#04
	db #1d,#15,#1a,#83,#02,#15,#1a,#15
.l8d5a equ $ + 1
	db #8d,#83,#04,#81,#01,#80,#06,#87
	db #02,#1a,#83,#02,#15,#83,#04,#1a
	db #15,#1a,#15,#15,#83,#02,#15,#18
	db #15,#83,#18,#87,#0f,#8a,#02,#1a
.l8d7a equ $ + 1
	db #8d,#85,#56,#83,#01,#81,#01,#80
	db #06,#87,#0e,#32,#33,#37,#39,#3e
.l8d8d equ $ + 4
	db #3f,#43,#45,#8d,#85,#56,#83,#04
	db #81,#01,#80,#06,#87,#0e,#45,#83
	db #02,#43,#83,#04,#45,#83,#02,#43
	db #83,#04,#45,#83,#02,#46,#48,#83
	db #04,#46,#45,#83,#02,#43,#83,#04
	db #45,#83,#02,#43,#83,#04,#45,#83
	db #02,#46,#45,#83,#04,#3f,#83,#02
	db #3e,#3e,#3c,#83,#04,#3e,#83,#02
	db #3c,#3e,#3e,#3c,#83,#06,#3e,#8d
.l8dd1
	db #83,#08,#81,#01,#80,#06,#87,#12
.l8ddb equ $ + 2
	db #84,#8d,#83,#04,#81,#01,#80,#06
	db #87,#12,#4a,#83,#02,#48,#83,#04
	db #4a,#83,#02,#48,#83,#04,#4a,#83
	db #02,#4b,#4d,#83,#04,#4b,#4a,#83
	db #02,#48,#83,#04,#4a,#83,#02,#48
	db #83,#04,#4a,#83,#02,#4b,#4a,#83
	db #04,#46,#83,#02,#45,#45,#43,#83
	db #04,#45,#83,#02,#43,#45,#45,#43
.l8e1d equ $ + 4
	db #83,#06,#45,#8d,#83,#02,#81,#01
	db #80,#06,#87,#11,#4a,#4a,#4a,#4a
	db #4a,#4a,#4a,#4a,#4a,#4a,#4a,#4a
.l8e32 equ $ + 1
	db #8d,#85,#44,#83,#01,#81,#01,#80
	db #07,#87,#13,#39,#84,#39,#83,#24
	db #80,#09,#87,#14,#3a,#83,#01,#80
	db #07,#87,#13,#39,#84,#39,#83,#1e
	db #80,#09,#87,#14,#3c,#85,#54,#83
	db #04,#80,#05,#87,#16,#3e,#83,#10
	db #80,#06,#87,#17,#3f,#83,#04,#80
	db #05,#87,#16,#41,#83,#10,#80,#06
	db #87,#17,#43,#83,#02,#80,#08,#87
	db #18,#8a,#02,#4a,#84,#4a,#84,#4a
	db #84,#4a,#84,#4a,#84,#4a,#84,#4a
	db #84,#4a,#84,#4a,#84,#4a,#84,#4a
	db #84,#4a,#84,#4a,#84,#4a,#84,#4b
	db #84,#83,#10,#4a,#83,#02,#4a,#84
	db #4a,#84,#4a,#84,#4a,#84,#4a,#84
	db #4a,#84,#4a,#84,#4a,#84,#4a,#84
	db #4a,#84,#4a,#84,#4a,#84,#4a,#84
	db #4a,#84,#4b,#84,#83,#18,#4a,#8d
.l8ec1
	db #83,#01,#81,#01,#80,#07,#87,#13
	db #32,#84,#32,#83,#24,#80,#08,#87
	db #15,#8a,#02,#35,#8a,#00,#83,#01
	db #80,#07,#87,#13,#32,#84,#32,#83
	db #1e,#80,#08,#87,#15,#8a,#02,#8a
	db #02,#37,#8a,#00,#83,#04,#80,#05
	db #87,#16,#39,#83,#10,#87,#19,#3a
	db #83,#04,#87,#16,#3c,#83,#10,#87
	db #19,#3f,#83,#04,#80,#09,#87,#1a
	db #8a,#02,#3e,#3e,#3e,#3c,#3c,#3c
	db #46,#46,#46,#45,#45,#45,#43,#45
	db #46,#83,#10,#87,#19,#45,#83,#04
	db #87,#1a,#3e,#3e,#3e,#3c,#3c,#3c
	db #46,#46,#46,#45,#45,#45,#43,#45
.l8f38 equ $ + 7
	db #46,#83,#18,#87,#19,#45,#8d,#83
	db #03,#81,#01,#80,#07,#87,#1b,#1a
	db #15,#1a,#15,#1a,#15,#1a,#15,#1a
	db #15,#1a,#15,#1a,#15,#1a,#15,#1a
	db #15,#1a,#15,#1a,#15,#1a,#15,#83
	db #04,#87,#16,#35,#83,#10,#87,#17
	db #37,#83,#04,#87,#16,#39,#83,#10
	db #87,#17,#3a,#83,#04,#87,#1b,#1a
	db #15,#1a,#15,#1a,#15,#1a,#15,#1a
	db #15,#1a,#15,#1a,#15,#1a,#15,#1a
	db #15,#1a,#15,#1a,#15,#1a,#15,#1a
	db #15,#1a,#15,#1a,#15,#1a,#15,#1a
	db #15,#1a,#15,#1a,#15,#1a,#15,#8d
.l8f9d equ $ + 4
.l8f9c equ $ + 3
.l8f9b equ $ + 2
.l8f9a equ $ + 1
.l8f99
	db #8b,#8b,#8b,#8b,#85,#6b,#83,#01
	db #81,#09,#80,#06,#87,#1c,#8a,#02
.l8faf equ $ + 6
	db #88,#81,#0e,#8a,#00,#8b,#85,#6b
	db #83,#03,#81,#09,#80,#07,#87,#1d
.l8fc0 equ $ + 7
	db #88,#84,#58,#83,#05,#84,#8b,#83
	db #06,#81,#01,#80,#07,#87,#1e,#4a
.l8fcd equ $ + 4
	db #83,#02,#84,#8b,#83,#08,#81,#01
.l8fd7 equ $ + 6
	db #80,#07,#87,#1f,#4a,#8b,#85,#6b
	db #83,#02,#81,#09,#80,#05,#87,#20
.l8fe5 equ $ + 4
	db #88,#95,#15,#8b,#85,#6b,#83,#0e
	db #81,#08,#80,#07,#87,#21,#88,#01
.l8ff2 equ $ + 1
	db #8b,#85,#6b,#83,#03,#81,#09,#80
	db #07,#87,#22,#8a,#02,#88,#9f,#15
.l9002 equ $ + 1
	db #8b,#85,#6b,#83,#03,#81,#09,#80
	db #07,#87,#22,#8a,#02,#88,#9f,#11
.l9012 equ $ + 1
	db #8b,#85,#96,#83,#01,#81,#09,#80
.l9020 equ $ + 7
	db #0c,#87,#23,#88,#9e,#1a,#8b,#83
	db #01,#81,#09,#80,#0c,#87,#24,#88
.l902c equ $ + 3
	db #9e,#21,#8b,#85,#96,#83,#01,#81
.l9038 equ $ + 7
	db #09,#80,#0e,#87,#25,#41,#8b,#83
	db #01,#81,#09,#80,#0e,#87,#26,#88
.l9044 equ $ + 3
	db #81,#41,#8b,#85,#96,#80,#07,#87
	db #27,#89,#00,#81,#08,#83,#04,#88
.l9053 equ $ + 2
	db #1f,#8b,#85,#96,#80,#07,#87,#27
	db #89,#00,#81,#08,#83,#04,#88,#1d
.l9064 equ $ + 3
	db #88,#1f,#8b,#85,#6b,#83,#01,#81
	db #08,#80,#07,#87,#28,#88,#01,#8b
.l9071
	db #85,#96,#83,#0c,#81,#01,#80,#0d
	db #87,#29,#4a,#8b
.l907d
	db #00,#00
	dw l85f2,l8673,l86c0,l8731
	dw l8738,l873f,l8746,l874b
	dw l8754,l875d,l875e,l875f
	dw l8760,l877b,l87d7,l87f7
	dw l8824,l8833,l8842,l8887
	dw l8896,l88c5,l88e8,l891c
	dw l892a,l894d,l895b,l8988
	dw l89ab,l89de,l8a1e,l8a56
	dw l8aa5,l8ae4,l8b59,l8b6c
	dw l8bab,l8be3,l8be4,l8be5
	dw l8be6,l8be7,l8be8,l8be9
	dw l8bea,l8beb,l8bec,l8c1e
	dw l8c4a,l8c70,l8c71,l8c72
	dw l8c73,l8c9e,l8cb7,l8cd7
	dw l8ce3,l8d04,l8d10,l8d1a
	dw l8d5a,l8d7a,l8d8d,l8dd1
	dw l8ddb,l8e1d,l8e32,l8ec1
	dw l8f38,l8f99,l8f9a,l8f9b
	dw l8f9c,l8f9d,l8faf,l8fc0
	dw l8fcd,l8fd7,l8fe5,l8ff2
	dw l9002,l9012,l9020,l902c
	dw l9038,l9044,l9053,l9064
	dw l9071
.l9134 equ $ + 3
.l9131
	db #20,#5f,#3c,#3e,#00,#25,#26,#27
.l9139
	db #00,#c0,#0c,#cc,#30,#f0,#3c,#fc
	db #03,#c3,#0f,#cf,#33,#f3,#3f,#ff
.l9149
	db #00,#c0,#50,#c0,#a0,#c0,#f0,#c0
	db #40,#c1,#90,#c1,#e0,#c1,#30,#c2
	db #80,#c2,#d0,#c2,#20,#c3,#70,#c3
	db #c0,#c3,#10,#c4,#60,#c4,#b0,#c4
	db #00,#c5,#50,#c5,#a0,#c5,#f0,#c5
	db #40,#c6,#90,#c6,#e0,#c6,#30,#c7
.l917c equ $ + 3
.l917b equ $ + 2
	db #80,#c7,#8c,#00,#00,#00
.l9180 equ $ + 1
	db #24,#8b,#54,#48,#41,#4e,#4b,#53
.l9188 equ $ + 1
	db #24,#8c,#56,#31,#30,#30,#35,#38
	db #37,#24,#8f,#3c,#3e,#3c,#3e,#3c
.l9199 equ $ + 2
	db #3e,#24,#82,#5f,#24,#82,#5f,#5f
.l91a4 equ $ + 5
	db #5f,#5f,#5f,#5f,#24,#ac,#91,#b4
	db #91,#bc,#91,#c4,#91,#8c,#20,#44
	db #45,#4d,#4f,#20,#24,#8b,#4d,#4f
	db #44,#45,#20,#31,#24,#8a,#4d,#4f
	db #44,#45,#20,#32,#24,#89,#4d,#4f
	db #44,#45,#20,#33,#24,#8b,#54,#48
	db #41,#4e,#4b,#53,#20,#42,#49,#47
	db #20,#42,#4f,#59,#24,#8b,#59,#4f
	db #55,#52,#20,#45,#4e,#44,#20,#48
	db #41,#53,#20,#43,#4f,#4d,#45,#24
	db #f3,#91,#f7,#91,#08,#09,#38,#ff
	db #0a,#0b,#0c,#0d,#23,#24,#25,#26
	db #28,#39,#3a,#ff
.l9207 equ $ + 4
.l9203
	dw l9213,l921e,#0000
	db #f4,#01,#fa,#00,#64,#00,#0a,#00
.l9213 equ $ + 2
	db #e8,#03,#00,#00,#17,#05,#8b,#20
.l921e equ $ + 5
	db #20,#20,#20,#20,#24,#00,#00,#0c
	db #05,#8b,#20,#20,#20,#20,#20,#24
.l9229
	db #02,#02,#00,#02,#01,#02,#00,#01
.l9237 equ $ + 6
.l9233 equ $ + 2
.l9231
	db #fd,#03,#08,#26,#04,#22,#26,#01
.l923d equ $ + 4
.l923b equ $ + 2
	db #27,#48,#16,#12,#8c,#05,#8c,#06
	db #94,#06,#89,#06,#73,#06,#78,#06
.l9249
	db #00,#01,#02,#03,#04,#05,#05,#06
	db #06,#06,#06,#06,#06,#06,#07,#07
	db #07,#07,#07,#07,#07,#07,#07,#07
	db #07,#07,#07,#07,#07,#07,#07,#07
	db #07,#07,#07,#07,#07,#07,#07,#07
.l9271
	dw l9329,l9329,l9329,l9329
	dw l9331,l9331,l9331,l9331
	dw l9339,l9339,l9341,l9349
	dw l9351,l9339,l9359,l9359
	dw l9359,l9339,l9339,l9339
	dw l9361,l9339,l9369,l9371
	dw l9339,l93c9,l9339,l93d1
	dw l9339,l9339,l9339,l93d1
	dw l9381,l9339,l9339,l9389
	dw l9389,l9389,l9391,l9391
	dw l9339,l9339,l9339,l9339
	dw l9339,l9339,l9339,l9339
	dw l9339,l9339,l9339,l9339
	dw l9329,l9329,l9329,l9329
	dw l9339,l9399,l93a1,l93a1
	dw l9339,l9339,l9339,l9339
	dw l9339,l93a9,l93a9,l9339
	dw l9329,l9329,l9339,l9381
	dw l9339,l9339,l9339,l9339
	dw l9339,l93b1,l93b1,l9339
	dw l9391,l9339,l9339,l9361
	dw l9339,l9369,l9361,l9339
	dw l9361,l9361,l93b9,l93c1
.l9329
	db #00,#01,#01,#06,#06,#06,#04,#08
.l9331
	db #16,#05,#05,#14,#14,#14,#04,#08
.l9339
	db #00,#01,#01,#0d,#0d,#0d,#04,#08
.l9341
	db #0c,#12,#12,#12,#14,#14,#04,#08
.l9349
	db #0c,#12,#12,#14,#14,#14,#04,#08
.l9351
	db #00,#01,#01,#14,#14,#14,#04,#08
.l9359
	db #10,#11,#11,#07,#07,#07,#04,#08
.l9361
	db #07,#07,#07,#07,#07,#07,#07,#08
.l9369
	db #0a,#0b,#0b,#02,#04,#03,#04,#08
.l9371
	db #0a,#0b,#0b,#0d,#0d,#0d,#04,#08
	db #10,#11,#11,#0d,#0d,#0d,#04,#08
.l9381
	db #0e,#0f,#0f,#0d,#0d,#0d,#04,#08
.l9389
	db #09,#09,#09,#02,#04,#03,#04,#08
.l9391
	db #00,#01,#01,#02,#04,#03,#04,#08
.l9399
	db #13,#01,#01,#14,#14,#14,#04,#08
.l93a1
	db #13,#14,#14,#14,#14,#14,#04,#08
.l93a9
	db #10,#11,#11,#06,#06,#06,#04,#08
.l93b1
	db #15,#01,#01,#0d,#0d,#0d,#04,#08
.l93b9
	db #00,#00,#00,#00,#00,#00,#00,#00
.l93c1
	db #0c,#01,#01,#14,#14,#14,#04,#08
.l93c9
	db #11,#11,#11,#07,#07,#07,#04,#08
.l93d1
	db #14,#01,#01,#0d,#0d,#0d,#04,#08
.l93d9
	db #19,#1a,#16,#15,#12,#11,#18,#00
	db #16,#12,#15,#11,#18,#12,#16,#00
	db #12,#08,#08,#15,#15,#08,#00,#00
	db #14,#14,#15,#15,#08,#08,#00,#00
	db #08,#0a,#08,#08,#08,#08,#08,#08
	db #0a,#0a,#0a,#0a,#04,#04,#04,#00
	db #0a,#0a,#0a,#0a,#08,#08,#08,#00
	db #15,#12,#15,#12,#0a,#06,#02,#00
	db #08,#0a,#08,#08,#08,#08,#08,#08
	db #01,#01,#01,#01,#06,#02,#04,#00
	db #19,#19,#09,#09,#09,#09,#09,#00
	db #0a,#09,#09,#09,#09,#09,#09,#00
	db #1a,#1a,#01,#01,#06,#06,#06,#04
	db #14,#0a,#0a,#0a,#08,#08,#08,#00
	db #19,#12,#06,#05,#05,#05,#02,#04
	db #12,#12,#05,#05,#05,#05,#02,#00
	db #19,#1a,#0a,#06,#02,#02,#02,#04
	db #12,#12,#0a,#06,#02,#02,#02,#04
	db #0a,#0a,#01,#01,#01,#06,#04,#00
	db #1a,#1a,#1a,#15,#15,#18,#18,#00
	db #0a,#15,#15,#0a,#0a,#0a,#0a,#00
	db #1a,#15,#1a,#1a,#0a,#1a,#1a,#00
	db #0a,#1a,#0a,#15,#0a,#15,#0a,#00
.l9491
	db #02,#02,#03,#03,#04,#04,#05,#05
	db #05,#05,#06,#06,#06,#06,#06,#06
	db #06,#06,#07,#07,#07,#07,#07,#07
	db #07,#07,#07,#07,#07,#07,#07,#07
	db #01,#01,#02,#03,#03,#04,#04,#04
	db #05,#05,#05,#05,#05,#06,#06,#06
	db #06,#06,#06,#06,#06,#07,#07,#07
	db #07,#07,#07,#07,#07,#07,#07,#07
	db #00,#00,#01,#01,#02,#02,#02,#03
	db #03,#03,#03,#04,#04,#04,#04,#05
	db #05,#05,#05,#05,#06,#06,#06,#06
	db #06,#07,#07,#07,#07,#07,#07,#07
	db #00,#00,#00,#01,#01,#01,#02,#02
	db #02,#03,#03,#03,#03,#04,#04,#04
	db #04,#05,#05,#05,#05,#06,#06,#06
	db #06,#06,#06,#07,#07,#07,#07,#07
	db #00,#00,#00,#00,#00,#01,#01,#01
	db #01,#01,#02,#02,#02,#02,#03,#03
	db #03,#03,#04,#04,#04,#04,#05,#05
	db #05,#05,#06,#06,#06,#07,#07,#07
	db #00,#00,#00,#00,#00,#00,#00,#01
	db #01,#01,#01,#01,#02,#02,#02,#02
	db #02,#03,#03,#03,#03,#04,#04,#04
	db #04,#05,#05,#05,#06,#06,#07,#07
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#01,#01,#01,#01,#01
	db #01,#01,#01,#02,#02,#02,#02,#02
	db #03,#03,#03,#04,#04,#05,#05,#06
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#01,#01
	db #01,#01,#01,#01,#01,#01,#02,#02
	db #02,#02,#03,#03,#04,#04,#05,#05
.l9591
	db #71,#95,#01,#01,#80,#5c,#04,#0d
	db #b4,#5c,#04,#0d,#e8,#5c,#04,#0d
	db #1c,#5d,#04,#0d,#50,#5d,#04,#0d
	db #84,#5d,#04,#0d,#b8,#5d,#03,#14
	db #f4,#5d,#03,#14,#30,#5e,#03,#14
	db #6c,#5e,#03,#14,#a8,#5e,#04,#03
	db #b4,#5e,#05,#1f,#4f,#5f,#05,#1f
	db #ea,#5f,#05,#1f,#85,#60,#05,#1f
	db #20,#61,#07,#1a,#d6,#61,#07,#1a
	db #8c,#62,#07,#1a,#42,#63,#07,#1a
	db #f8,#63,#07,#1a,#ae,#64,#07,#1a
.l95e9
	db #64,#65,#04,#0d,#98,#65,#04,#0d
	db #cc,#65,#05,#39,#e9,#66,#0a,#39
	db #23,#69,#06,#39,#79,#6a,#04,#0a
	db #a1,#6a,#04,#0a,#c9,#6a,#04,#0a
.l9609
	db #00,#00,#00,#00,#00,#01,#02,#03
	db #04,#03,#05,#00,#00,#04,#00,#00
	db #00,#06,#08,#04,#04,#04,#00,#07
.l9626 equ $ + 5
	db #08,#00,#04,#04,#0c,#09,#09,#09
	db #09,#09,#0a,#0a,#09,#09,#09,#09
	db #09,#09,#09,#09,#09,#09,#06,#09
	db #09,#09,#09,#09,#0b,#09,#09,#09
.l9643 equ $ + 2
	db #09,#0c,#01,#02,#03,#18,#05,#12
	db #0b,#13,#11,#15,#02,#03,#07,#05
	db #12,#0b,#13,#11,#15,#15,#15,#07
	db #15,#12,#15,#13,#15,#01,#02,#03
	db #18,#05,#12,#0b,#13,#11,#01,#02
	db #03,#07,#05,#12,#0b,#13,#11,#17
	db #02,#03,#18,#05,#12,#0b,#13,#11
	db #19,#19,#19,#07,#19,#19,#19,#19
	db #19,#07,#07,#07,#07,#07,#07,#07
	db #07,#07,#01,#02,#03,#01,#05,#01
	db #0b,#01,#11,#01,#0a,#08,#18,#0c
	db #0d,#10,#0f,#04,#15,#15,#15,#06
	db #15,#15,#15,#15,#15,#06,#06,#06
	db #06,#06,#06,#06,#06,#06,#1d,#1d
	db #1d,#1d,#1d,#1d,#1d
.l96b8 equ $ + 2
.l96b6
	dw #1d1d,l971a,l9743,l9749
	dw l974f,l9759,l975f,l9768
	dw l976b,l9776,l9784,l978d
	dw l9791,l979a,l97a0,l97a5
	dw l97ae,l97b3,l97b8,l97be
	dw l97c5,l97d0,l97d3,l97d6
	dw l97d9,l97dc,l97df,l97e5
	dw l97e8,l97f9,l980b,l980f
	dw l9815,l982a,l983b,l983e
	dw l9849,l984f,l9857,l9860
	dw l9869,l9869,l986f,l9873
	dw l9879,l987c,l9886,l988f
.l971a equ $ + 4
	dw l9892,l9897,#0000
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#52,#53
.l9743 equ $ + 7
	db #54,#53,#54,#53,#54,#52,#fa,#00
.l9749 equ $ + 5
	db #01,#02,#03,#33,#fa,#00,#37,#36
.l974f equ $ + 3
	db #35,#34,#fa,#80,#04,#ff,#09,#05
.l9759 equ $ + 5
	db #06,#ff,#09,#07,#fa,#80,#08,#09
.l975f equ $ + 3
	db #38,#00,#fa,#c0,#0a,#0b,#ff,#09
.l976b equ $ + 7
.l9768 equ $ + 4
	db #0c,#5b,#39,#fa,#80,#3a,#fb,#c0
	db #0e,#0f,#10,#19,#ff,#09,#1a,#45
.l9776 equ $ + 2
	db #19,#fa,#e0,#11,#11,#11,#11,#11
	db #12,#12,#12,#12,#12,#13,#14,#fb
.l9784
	db #c0,#55,#16,#ff,#09,#17,#3d,#44
.l9791 equ $ + 5
.l978d equ $ + 1
	db #fa,#80,#3f,#18,#fb,#c0,#41,#42
.l979a equ $ + 6
	db #ff,#09,#43,#45,#3c,#fa,#c0,#1b
.l97a0 equ $ + 4
	db #1c,#46,#00,#fa,#80,#1d,#1e,#00
.l97a5 equ $ + 1
	db #fb,#c0,#58,#1f,#ff,#09,#20,#49
.l97b3 equ $ + 7
.l97ae equ $ + 2
	db #48,#fa,#c0,#32,#22,#4a,#fa,#80
.l97b8 equ $ + 4
	db #50,#4b,#51,#fb,#80,#23,#24,#25
.l97be equ $ + 2
	db #26,#fa,#80,#29,#2b,#2c,#2d,#2e
.l97c5 equ $ + 1
	db #fa,#a1,#2f,#30,#31,#31,#31,#31
.l97d3 equ $ + 7
.l97d0 equ $ + 4
	db #31,#30,#2f,#fb,#80,#3b,#fa,#80
.l97d9 equ $ + 5
.l97d6 equ $ + 2
	db #3e,#fa,#80,#40,#fa,#80,#0d,#fa
.l97df equ $ + 3
.l97dc
	db #80,#28,#fb,#80,#4c,#4d,#4e,#4f
.l97e8 equ $ + 4
.l97e5 equ $ + 1
	db #fb,#a0,#fc,#01,#e0,#0d,#56,#ff
	db #05,#56,#56,#56,#56,#56,#56,#57
.l97f9 equ $ + 5
	db #21,#ff,#06,#59,#fb,#80,#0e,#0f
	db #10,#00,#37,#00,#1b,#1b,#ff,#07
.l980b equ $ + 7
	db #1c,#1c,#46,#46,#00,#fc,#14,#13
.l980f equ $ + 3
	db #00,#fc,#1f,#00,#0c,#0d,#0e,#0f
.l9815 equ $ + 1
	db #fa,#a0,#03,#33,#01,#02,#03,#33
	db #01,#02,#03,#33,#01,#02,#03,#33
.l982a equ $ + 6
	db #01,#02,#03,#33,#fc,#01,#00,#01
	db #02,#03,#04,#05,#06,#01,#02,#03
.l983b equ $ + 7
	db #04,#05,#06,#01,#02,#03,#fb,#00
.l983e equ $ + 2
	db #0b,#fb,#00,#07,#08,#09,#0a,#00
.l9849 equ $ + 5
	db #07,#08,#09,#0a,#fd,#a0,#5a,#0f
.l984f equ $ + 3
	db #10,#fe,#01,#00,#02,#01,#06,#05
.l9857 equ $ + 3
	db #04,#03,#fa,#01,#12,#11,#10,#10
.l9860 equ $ + 4
	db #10,#11,#12,#fb,#01,#15,#14,#13
.l9869 equ $ + 5
	db #13,#13,#14,#15,#fb,#a0,#37,#36
.l9873 equ $ + 7
.l986f equ $ + 3
	db #35,#34,#fa,#a0,#00,#fc,#29,#a0
.l9879 equ $ + 5
	db #5a,#0f,#10,#fe,#29,#a0,#31,#fa
.l987c
	db #a0,#03,#33,#01,#02,#03,#33,#00
.l9886 equ $ + 2
	db #fc,#01,#a0,#18,#18,#18,#18,#18
.l9892 equ $ + 6
.l988f equ $ + 3
	db #18,#19,#fa,#a0,#1a,#fa,#a0,#1b
.l989a equ $ + 6
.l9897 equ $ + 3
	db #1c,#1d,#fa,#a0,#18,#fa,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #58,#99,#00,#00,#cd,#99,#00,#00
	db #00,#00,#00,#00,#00,#00,#44,#9a
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#c1,#9a,#00,#00
	db #00,#00,#34,#9b,#00,#00,#ab,#9b
	db #00,#00,#00,#00,#00,#00,#12,#9c
	db #00,#00,#65,#9c,#00,#00,#a2,#9c
	db #05,#9d,#62,#9d,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#bf,#9d,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#13,#01,#13
	db #02,#13,#03,#13,#04,#13,#05,#0e
	db #06,#13,#07,#06,#08,#14,#0a,#13
	db #0b,#13,#0d,#13,#0e,#13,#0f,#15
	db #10,#13,#15,#13,#16,#13,#17,#13
	db #17,#10,#18,#13,#19,#13,#1b,#15
	db #1f,#13,#22,#15,#28,#13,#32,#15
	db #33,#15,#34,#14,#35,#14,#36,#14
	db #37,#14,#38,#15,#39,#13,#3a,#13
	db #3b,#14,#3c,#14,#3d,#14,#3e,#15
	db #3f,#13,#40,#13,#41,#13,#42,#13
	db #44,#13,#45,#13,#46,#15,#47,#13
	db #48,#13,#49,#13,#4a,#15,#4b,#13
	db #50,#13,#51,#13,#52,#13,#53,#13
	db #54,#13,#55,#13,#58,#13,#5b,#13
	db #ff,#00,#16,#01,#16,#02,#16,#03
	db #16,#04,#16,#05,#0e,#06,#16,#07
	db #06,#08,#17,#0a,#16,#0b,#16,#0d
	db #16,#0e,#16,#0f,#18,#10,#16,#15
	db #16,#16,#16,#17,#16,#17,#10,#18
	db #16,#19,#16,#1a,#18,#1b,#18,#1f
	db #16,#22,#18,#28,#16,#32,#18,#33
	db #18,#34,#17,#35,#17,#36,#17,#37
	db #17,#38,#18,#39,#16,#3a,#16,#3b
	db #17,#3c,#17,#3d,#17,#3e,#18,#3f
	db #16,#40,#16,#41,#16,#42,#16,#44
	db #16,#45,#16,#46,#18,#47,#16,#48
	db #16,#49,#16,#4a,#18,#4b,#16,#50
	db #18,#51,#16,#52,#16,#53,#16,#54
	db #16,#55,#18,#58,#18,#5b,#18,#ff
	db #00,#19,#01,#19,#02,#19,#03,#19
	db #04,#19,#05,#19,#06,#19,#07,#19
	db #08,#1a,#0a,#1a,#0b,#1a,#0c,#06
	db #0d,#19,#0e,#19,#0f,#19,#10,#19
	db #15,#1a,#16,#1a,#17,#1a,#18,#1b
	db #19,#1b,#1a,#1b,#1b,#1c,#1f,#19
	db #20,#1b,#22,#1b,#23,#1a,#28,#08
	db #29,#1a,#32,#19,#33,#19,#34,#19
	db #35,#19,#36,#19,#37,#19,#38,#1c
	db #39,#06,#3a,#1a,#3b,#19,#3c,#1a
	db #3d,#1a,#3e,#1a,#3f,#1a,#40,#1a
	db #41,#1a,#42,#19,#43,#1b,#44,#1b
	db #45,#1b,#46,#1c,#47,#1a,#48,#19
	db #49,#19,#4a,#19,#4b,#1a,#50,#19
	db #51,#19,#52,#19,#53,#19,#54,#19
	db #55,#19,#58,#19,#ff,#00,#1d,#01
	db #1d,#02,#1d,#03,#1d,#04,#1e,#06
	db #1d,#08,#1f,#0a,#1f,#0b,#1d,#0d
	db #1d,#0e,#1d,#0f,#1d,#10,#1d,#15
	db #1e,#16,#1d,#17,#06,#18,#0e,#19
	db #1d,#1b,#1f,#1c,#0f,#1f,#1f,#22
	db #1f,#23,#1f,#29,#1d,#32,#1d,#33
	db #1d,#34,#1d,#35,#1d,#36,#1d,#37
	db #1d,#38,#1d,#39,#1d,#3a,#1d,#3b
	db #1d,#3c,#1d,#3d,#06,#3e,#1d,#3f
	db #1d,#40,#1d,#41,#1d,#42,#1d,#44
	db #1d,#45,#1d,#46,#1f,#47,#1d,#48
	db #1d,#49,#1d,#4a,#1d,#4b,#1d,#50
	db #1d,#51,#1d,#52,#1d,#53,#1d,#54
	db #1d,#55,#1d,#58,#1d,#5b,#1d,#ff
	db #00,#04,#01,#04,#02,#04,#03,#04
	db #04,#05,#05,#05,#06,#05,#08,#00
	db #09,#25,#0d,#24,#0e,#25,#0f,#24
	db #10,#24,#15,#24,#16,#25,#17,#25
	db #18,#24,#19,#24,#1a,#06,#1b,#26
	db #1b,#0d,#1c,#26,#1c,#0d,#1f,#24
	db #31,#25,#32,#04,#33,#04,#34,#04
	db #35,#04,#36,#04,#37,#04,#38,#24
	db #3b,#24,#3c,#25,#3d,#25,#3f,#05
	db #3f,#0b,#40,#05,#40,#0b,#41,#05
	db #41,#0b,#42,#05,#42,#0b,#43,#06
	db #44,#05,#44,#0b,#46,#05,#47,#05
	db #47,#0b,#48,#04,#4b,#05,#4b,#0b
	db #50,#05,#51,#04,#52,#04,#53,#04
	db #54,#04,#55,#05,#58,#05,#ff,#00
	db #0a,#01,#0a,#02,#0a,#03,#0a,#04
	db #0a,#05,#0a,#06,#0a,#07,#0a,#0a
	db #0a,#0b,#0a,#0c,#0a,#0d,#0c,#0e
	db #0a,#0f,#0a,#10,#0a,#15,#0a,#17
	db #0a,#19,#0a,#1a,#0a,#1f,#0a,#22
	db #0c,#32,#0a,#33,#0a,#34,#0a,#35
	db #0a,#36,#0a,#37,#0a,#38,#0a,#39
	db #0a,#3a,#0a,#3b,#0c,#3c,#0a,#3d
	db #0a,#3e,#0a,#3f,#0a,#40,#0a,#41
	db #0a,#42,#0a,#44,#0a,#47,#0a,#48
	db #0a,#4a,#0a,#4b,#0a,#50,#0a,#51
	db #0a,#52,#0a,#53,#0a,#54,#0a,#55
	db #0a,#58,#0a,#5b,#0a,#ff,#00,#20
	db #01,#20,#02,#20,#03,#20,#04,#21
	db #05,#21,#06,#21,#07,#21,#08,#22
	db #09,#20,#0d,#21,#0e,#20,#0f,#22
	db #10,#20,#15,#21,#15,#0d,#16,#21
	db #17,#21,#18,#20,#19,#21,#1b,#23
	db #1c,#23,#1f,#20,#20,#06,#22,#0f
	db #32,#20,#33,#20,#34,#20,#35,#20
	db #36,#20,#37,#20,#43,#20,#4a,#20
	db #4b,#10,#50,#20,#51,#10,#52,#20
	db #53,#20,#54,#20,#55,#21,#58,#20
	db #ff,#00,#03,#01,#03,#02,#03,#03
	db #03,#0e,#03,#0f,#03,#10,#03,#15
	db #03,#18,#03,#19,#03,#1a,#03,#1f
	db #03,#20,#03,#32,#03,#33,#03,#34
	db #03,#35,#03,#36,#03,#37,#03,#42
	db #03,#43,#03,#44,#03,#48,#03,#49
	db #03,#4a,#03,#50,#03,#52,#03,#53
	db #03,#54,#03,#58,#03,#ff,#00,#11
	db #01,#11,#02,#11,#03,#11,#04,#11
	db #05,#11,#06,#11,#07,#11,#0a,#11
	db #0b,#11,#0c,#11,#0d,#11,#0e,#11
	db #0f,#11,#10,#11,#15,#11,#16,#11
	db #17,#11,#18,#11,#19,#11,#1a,#11
	db #1c,#12,#1f,#11,#20,#11,#22,#11
	db #32,#11,#33,#11,#34,#11,#35,#11
	db #36,#11,#37,#11,#39,#11,#3a,#11
	db #3b,#11,#42,#11,#43,#11,#44,#11
	db #48,#11,#49,#11,#4a,#11,#4b,#11
	db #50,#11,#51,#11,#52,#11,#53,#11
	db #54,#11,#55,#11,#58,#11,#5b,#11
	db #ff,#00,#12,#01,#12,#02,#12,#03
	db #12,#04,#12,#05,#12,#06,#12,#07
	db #12,#0a,#12,#0b,#12,#0c,#12,#0d
	db #12,#0e,#12,#0f,#12,#10,#12,#15
	db #12,#18,#12,#19,#12,#1a,#12,#1c
	db #12,#1f,#12,#20,#12,#32,#12,#33
	db #12,#34,#12,#35,#12,#36,#12,#37
	db #12,#39,#12,#3a,#12,#3b,#12,#42
	db #12,#43,#12,#44,#12,#48,#12,#49
	db #12,#4a,#12,#4b,#12,#50,#12,#51
	db #12,#52,#12,#53,#12,#54,#12,#55
	db #12,#58,#12,#5b,#12,#ff,#00,#11
	db #01,#11,#02,#11,#03,#11,#04,#11
	db #05,#11,#06,#11,#07,#11,#0a,#11
	db #0b,#11,#0c,#11,#0d,#11,#0e,#11
	db #0f,#11,#10,#11,#15,#11,#18,#11
	db #19,#11,#1a,#11,#1c,#12,#1f,#11
	db #20,#11,#32,#11,#33,#11,#34,#11
	db #35,#11,#36,#11,#37,#11,#39,#11
	db #3a,#11,#3b,#11,#42,#11,#43,#11
	db #44,#11,#48,#11,#49,#11,#4a,#11
	db #4b,#11,#50,#11,#51,#11,#52,#11
	db #53,#11,#54,#11,#55,#11,#58,#11
	db #5b,#11,#ff,#00,#25,#01,#25,#02
	db #25,#03,#25,#04,#25,#05,#26,#06
	db #26,#07,#25,#08,#24,#09,#25,#0d
	db #25,#0e,#25,#0f,#24,#10,#24,#15
	db #24,#16,#25,#17,#25,#18,#24,#19
	db #24,#1b,#02,#1b,#0d,#1c,#02,#1c
	db #0d,#1f,#24,#32,#25,#33,#25,#34
	db #25,#35,#25,#36,#25,#37,#25,#38
	db #24,#3b,#24,#3c,#25,#3d,#25,#3f
	db #25,#40,#25,#41,#25,#42,#25,#43
	db #06,#44,#25,#46,#26,#47,#25,#48
	db #25,#4b,#25,#50,#25,#51,#24,#52
	db #25,#53,#25,#54,#25,#55,#26,#58
.l9e26 equ $ + 2
	db #25,#ff,#1b,#0e,#b9,#00,#1a,#0e
	db #b9,#00,#15,#0e,#b9,#00,#00,#1a
	db #89,#00,#1a,#09,#16,#00,#15,#09
	db #16,#00,#1b,#00,#20,#00,#1b,#1a
	db #89,#00,#1a,#1a,#89,#00,#15,#1a
	db #89,#00,#00,#1a,#7d,#00,#bf,#00
	db #b9,#00,#15,#1a,#7d,#00,#bf,#00
	db #c0,#00,#1a,#00,#20,#00,#6f,#0e
	db #b9,#04,#6f,#00,#c0,#00,#00,#1a
	db #80,#00,#15,#1a,#80,#00,#00,#1a
	db #bd,#01,#1a,#1a,#bd,#01,#15,#1a
	db #bd,#01,#00,#1a,#bd,#02,#1a,#1a
	db #bd,#02,#15,#1a,#bd,#02,#1a,#0e
	db #bd,#03,#15,#0e,#bd,#03,#1b,#0e
	db #bd,#03,#00,#0e,#b9,#03,#15,#0e
	db #b9,#04,#00,#0e,#b9,#04,#1a,#0e
	db #b9,#04,#1a,#1a,#bd,#05,#15,#1a
	db #bd,#05,#1b,#1a,#bd,#05,#00,#1a
	db #bd,#05,#1b,#0e,#b9,#06,#1a,#0e
.l9ec2 equ $ + 6
	db #b9,#06,#15,#0e,#b9,#06,#53,#70
	db #8e,#70,#06,#72
.l9ec8
	db #00,#00,#00,#4a,#4a,#00,#4b,#4c
	db #4d,#4e,#00,#00,#4f,#00,#00,#50
	db #00,#00,#51,#00,#00,#52,#53,#00
	db #54,#55,#00,#56,#00,#00,#57,#00
	db #00,#58,#00,#00,#59,#00,#00
	db #01,#02,#03,#04,#05,#06,#07,#08
.l9ef8 equ $ + 1
	db #09,#08,#09,#ff
.l9efb
	dw l9fb3,l9fbf,l9fcb,l9fd7
	dw l9fe3,l9fef,l9ffb,la007
	dw la013,la01f,la02b,la037
	dw la043,la04f,la05b,la067
	dw la073,la07f,la08b,la097
	dw la0a3,la0af,la0bb,la0c7
	dw la0d3,la0df,la0eb,la0f7
	dw la103,la10f,la11b,la127
	dw la133,la13f,la14b,la157
	dw la163,la16f,la17b,la187
	dw la193,la19f,la1ab,la1b7
	dw la1c3,la1cf,la1db,la1e7
	dw la1f3,la1ff,la20b,la217
	dw la223,la22f,la23b,la247
	dw la013,la037,la037,la04f
	dw la25f,la0c7,la04f,la0af
	dw la0af,la0af,la25f,la0eb
	dw la0bb,la0eb,la0f7,la0af
	dw la127,la133,la20b,la26b
	dw la277,la283,la28f,la29b
	dw la2a7,la0af,la2b3,la2bf
	dw la2cb,la2d7,la2e3,la2ef
	dw la2fb,la307,la313,la31f
.l9fb3
	dw #0000
	db #00,#01,#02,#00,#03,#04,#00,#05
.l9fbf equ $ + 2
	db #06,#00,#00,#00,#00,#01,#02,#00
.l9fcb equ $ + 6
	db #07,#08,#00,#09,#0a,#00,#00,#00
	db #00,#01,#02,#00,#0b,#0c,#00,#0d
.l9fd7 equ $ + 2
	db #0e,#00,#00,#00,#00,#01,#02,#00
.l9fe3 equ $ + 6
	db #0f,#10,#00,#11,#12,#00,#00,#00
	db #00,#13,#14,#00,#15,#16,#00,#17
.l9fef equ $ + 2
	db #18,#00,#00,#00,#00,#19,#1a,#00
.l9ffb equ $ + 6
	db #1b,#1c,#00,#1d,#1e,#00,#00,#00
	db #00,#1f,#20,#00,#21,#22,#00,#23
.la007 equ $ + 2
	db #24,#00,#00,#00,#00,#25,#26,#00
.la013 equ $ + 6
	db #27,#28,#b0,#29,#2a,#00,#f0,#f1
	db #00,#2b,#2c,#00,#2d,#2e,#00,#2f
.la01f equ $ + 2
	db #30,#00,#f2,#f3,#00,#31,#32,#00
.la02b equ $ + 6
	db #33,#34,#00,#35,#36,#00,#00,#00
	db #00,#00,#00,#00,#37,#38,#00,#39
.la037 equ $ + 2
	db #3a,#00,#00,#00,#00,#00,#00,#00
.la043 equ $ + 6
	db #3b,#3c,#00,#39,#3a,#00,#00,#00
	db #00,#00,#00,#00,#3d,#3e,#41,#3f
.la04f equ $ + 2
	db #40,#00,#00,#00,#00,#45,#46,#00
.la05b equ $ + 6
	db #47,#48,#00,#49,#4a,#00,#f4,#f5
	db #00,#4b,#4c,#00,#4d,#4e,#00,#4f
.la067 equ $ + 2
	db #50,#00,#f6,#f7,#00,#51,#52,#00
.la073 equ $ + 6
	db #53,#54,#00,#55,#56,#00,#f8,#f9
	db #00,#57,#58,#00,#59,#5a,#00,#5b
.la07f equ $ + 2
	db #5c,#00,#00,#00,#00,#5d,#00,#00
.la08b equ $ + 6
	db #5e,#00,#00,#5f,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#60,#00,#61
.la097 equ $ + 2
	db #62,#00,#00,#00,#00,#00,#00,#00
.la0a3 equ $ + 6
	db #00,#63,#00,#64,#65,#66,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#68
.la0af equ $ + 2
	db #69,#6a,#00,#00,#00,#6b,#6c,#00
.la0bb equ $ + 6
	db #6d,#6e,#00,#6f,#70,#00,#00,#00
	db #00,#74,#00,#00,#75,#76,#00,#72
.la0c7 equ $ + 2
	db #73,#00,#00,#00,#00,#77,#42,#00
.la0d3 equ $ + 6
	db #78,#79,#7c,#7a,#7b,#00,#00,#00
	db #00,#7d,#7e,#00,#7f,#80,#00,#6f
.la0df equ $ + 2
	db #70,#00,#00,#00,#00,#81,#82,#00
.la0eb equ $ + 6
	db #83,#84,#00,#85,#86,#00,#00,#00
	db #00,#87,#88,#8d,#89,#8a,#00,#8b
.la0f7 equ $ + 2
	db #8c,#00,#00,#00,#00,#8e,#8f,#00
.la103 equ $ + 6
	db #90,#91,#00,#92,#93,#00,#00,#00
	db #00,#8e,#8f,#00,#94,#95,#00,#92
.la10f equ $ + 2
	db #96,#00,#00,#00,#00,#97,#00,#00
.la11b equ $ + 6
	db #99,#9a,#00,#9b,#9c,#00,#00,#00
	db #00,#9d,#9e,#00,#9f,#a0,#00,#a1
.la127 equ $ + 2
	db #a2,#00,#00,#fa,#00,#a3,#a4,#00
.la133 equ $ + 6
	db #a5,#a6,#00,#a7,#a8,#00,#00,#00
	db #00,#a9,#aa,#af,#a5,#ab,#00,#a7
.la13f equ $ + 2
	db #a8,#00,#00,#00,#00,#00,#00,#00
.la14b equ $ + 6
	db #00,#00,#00,#e8,#e9,#ea,#00,#00
	db #00,#b2,#b3,#00,#b4,#b5,#00,#b6
.la157 equ $ + 2
	db #b7,#00,#00,#00,#00,#00,#00,#00
.la163 equ $ + 6
	db #b8,#b9,#00,#ba,#bb,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#bc
.la16f equ $ + 2
	db #bd,#00,#00,#00,#00,#00,#00,#00
.la17b equ $ + 6
	db #00,#be,#00,#00,#bf,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#c0
.la187 equ $ + 2
	db #c1,#00,#00,#00,#00,#00,#00,#00
.la193 equ $ + 6
	db #00,#c2,#00,#00,#c3,#00,#00,#00
	db #00,#00,#00,#00,#c4,#c5,#00,#c6
.la19f equ $ + 2
	db #c7,#00,#00,#00,#00,#00,#00,#00
.la1ab equ $ + 6
	db #c4,#c5,#00,#c6,#c7,#00,#00,#00
	db #00,#00,#00,#00,#00,#c2,#00,#00
.la1b7 equ $ + 2
	db #c3,#00,#00,#00,#00,#00,#00,#00
.la1c3 equ $ + 6
	db #00,#00,#00,#c0,#c1,#00,#00,#00
	db #00,#00,#00,#00,#00,#be,#00,#00
.la1cf equ $ + 2
	db #bf,#00,#00,#00,#00,#00,#00,#00
.la1db equ $ + 6
	db #00,#00,#00,#bc,#bd,#00,#00,#00
	db #00,#00,#00,#00,#b8,#b9,#00,#ba
.la1e7 equ $ + 2
	db #bb,#00,#00,#00,#00,#c8,#c9,#00
.la1f3 equ $ + 6
	db #ca,#cb,#00,#cc,#cd,#00,#00,#00
	db #00,#c8,#ce,#00,#ca,#cf,#00,#cc
.la1ff equ $ + 2
	db #d0,#00,#fb,#fc,#00,#c8,#d1,#00
.la20b equ $ + 6
	db #ca,#d2,#00,#cc,#d0,#00,#00,#00
	db #00,#d3,#d4,#00,#d5,#d6,#00,#d7
.la217 equ $ + 2
	db #d8,#00,#00,#00,#00,#01,#02,#00
.la223 equ $ + 6
	db #03,#04,#00,#05,#06,#00,#00,#00
	db #00,#01,#02,#00,#03,#04,#00,#05
.la22f equ $ + 2
	db #06,#00,#00,#00,#00,#01,#02,#00
.la23b equ $ + 6
	db #07,#08,#00,#09,#0a,#00,#00,#00
	db #00,#01,#02,#00,#0b,#0c,#00,#0d
.la247 equ $ + 2
	db #0e,#00,#00,#00,#00,#01,#02,#00
	db #0f,#10,#00,#11,#12,#00,#f0,#f1
	db #00,#2b,#2c,#00,#2d,#2e,#00,#2f
.la25f equ $ + 2
	db #30,#00,#00,#00,#00,#81,#82,#00
.la26b equ $ + 6
	db #83,#84,#00,#85,#86,#00,#00,#00
	db #00,#6b,#6c,#00,#6d,#6e,#00,#6f
.la277 equ $ + 2
	db #70,#00,#00,#00,#00,#97,#00,#00
.la283 equ $ + 6
	db #99,#9a,#00,#98,#b1,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#d9
.la28f equ $ + 2
	db #da,#db,#00,#00,#00,#00,#00,#00
.la29b equ $ + 6
	db #00,#00,#00,#d9,#da,#db,#00,#00
	db #00,#00,#00,#00,#dc,#dd,#00,#de
.la2a7 equ $ + 2
	db #df,#e0,#00,#00,#00,#01,#02,#00
.la2b3 equ $ + 6
	db #0f,#10,#00,#11,#12,#00,#00,#00
	db #00,#67,#71,#00,#03,#04,#00,#05
.la2bf equ $ + 2
	db #06,#00,#00,#00,#00,#eb,#ec,#00
.la2cb equ $ + 6
	db #ed,#ee,#00,#05,#06,#00,#00,#00
	db #00,#ef,#ec,#00,#ed,#ee,#00,#05
.la2d7 equ $ + 2
	db #06,#00,#00,#00,#00,#43,#00,#00
.la2e3 equ $ + 6
	db #44,#ae,#00,#72,#73,#00,#00,#00
	db #00,#00,#00,#00,#00,#e1,#00,#e2
.la2ef equ $ + 2
	db #e3,#00,#00,#00,#00,#00,#00,#00
.la2fb equ $ + 6
	db #e4,#e5,#00,#e6,#e7,#00,#00,#00
	db #00,#ac,#ad,#00,#6d,#6e,#00,#6f
.la307 equ $ + 2
	db #70,#00,#00,#00,#00,#00,#00,#00
.la313 equ $ + 6
	db #00,#00,#00,#e8,#e9,#ea,#f4,#f5
	db #00,#4b,#4c,#00,#4d,#4e,#00,#4f
.la31f equ $ + 2
	db #50,#00,#00,#00,#00,#00,#00,#00
.la32b equ $ + 6
	db #3d,#3e,#41,#3f,#40,#00,#00,#01
	db #01,#01,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#02,#01,#01,#00
	db #00,#00,#00,#00,#00,#00,#00,#01
	db #00,#00,#00,#fe,#fe,#00,#00,#fe
	db #00,#01,#04,#02,#04,#02,#01,#ff
	db #fd,#fb,#fe,#fe,#00,#00,#00,#00
	db #00,#01,#ff,#ff,#ff,#ff,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#ff,#fe,#fd,#00,#00,#ff,#00
	db #00,#00,#00,#00,#00,#fe,#00,#00
	db #01,#00
.la387
	dw l7370,l737a,l73b7,l7379
.la38f
	dw l7657,l7661,l766d,l7668
.la39b equ $ + 4
	dw l767a,l7647,l7701,l7707
	dw l7714,l7723,#0000
.la3a5
	dw l770a,la3c3,la3d0,la3dd
	dw la41a,la427,la464,la471
	dw la47a,la49b,la4a4,la4ad
.la3c3 equ $ + 6
	dw la4b2,la4b7,la4c0,#0300
	dw #0000
	db #0a,#00,#04,#0c,#00,#02,#00,#00
.la3d0 equ $ + 1
	db #fb,#00,#03,#00,#00,#06,#00,#04
.la3dd equ $ + 6
	db #0c,#00,#02,#00,#00,#fb,#05,#00
	db #02,#04,#04,#00,#02,#00,#06,#00
	db #02,#03,#06,#00,#02,#07,#06,#00
	db #02,#0b,#06,#01,#02,#0f,#ff,#08
	db #00,#00,#05,#00,#02,#04,#05,#00
	db #02,#01,#06,#00,#02,#01,#06,#00
	db #02,#04,#ff,#08,#00,#00,#04,#00
	db #02,#00,#04,#01,#01,#00,#00,#00
.la41a equ $ + 3
	db #00,#00,#fb,#04,#0b,#02,#00,#04
	db #01,#01,#00,#00,#00,#00,#00,#fb
.la427
	db #09,#00,#02,#04,#08,#00,#02,#00
	db #0a,#00,#02,#03,#0a,#00,#02,#07
	db #0a,#00,#02,#0b,#0a,#01,#02,#0f
	db #ff,#08,#00,#00,#09,#00,#02,#04
	db #09,#00,#02,#01,#0a,#00,#02,#01
	db #0a,#00,#02,#04,#ff,#08,#00,#00
	db #08,#00,#02,#00,#08,#01,#01,#00
.la464 equ $ + 5
	db #00,#00,#00,#00,#fb,#08,#0b,#02
	db #00,#08,#01,#01,#00,#00,#00,#00
.la471 equ $ + 2
	db #00,#fb,#00,#12,#00,#00,#08,#53
.la47a equ $ + 3
	db #01,#00,#fd,#09,#00,#04,#08,#09
	db #00,#04,#06,#09,#00,#04,#03,#08
	db #00,#04,#00,#0a,#00,#04,#03,#0a
	db #00,#04,#06,#0a,#00,#04,#08,#ff
.la49b equ $ + 4
	db #08,#00,#00,#fa,#08,#3c,#04,#00
.la4a4 equ $ + 5
	db #00,#00,#00,#00,#fb,#08,#00,#01
.la4ad equ $ + 6
	db #00,#00,#00,#00,#00,#fa,#08,#58
.la4b2 equ $ + 3
	db #01,#00,#fa,#04,#58,#01,#00,#fa
.la4b7
	db #0a,#01,#06,#16,#08,#13,#06,#00
.la4c5 equ $ + 6
.la4c0 equ $ + 1
	db #fd,#08,#19,#06,#00,#fd,#01,#05
	db #04,#00,#03,#09,#08,#00,#02,#07
.la4d5 equ $ + 6
	db #06,#00,#00,#00,#00,#00,#01,#05
	db #04,#00,#02,#07,#06,#00,#03,#09
	db #08,#00,#00,#00,#00
	db #00,#78,#e3,#78,#eb,#78,#f3,#78
	db #fb,#c8,#c3,#c8,#cb,#c8,#d3,#c8
	db #db,#c8,#e3,#c8,#eb,#c8,#f3,#c8
	db #fb,#18,#c4,#18,#cc,#18,#d4,#18
	db #dc,#18,#e4,#18,#ec,#18,#f4,#18
	db #fc,#68,#c4,#68,#cc,#68,#d4,#68
	db #dc,#68,#e4,#68,#ec,#68,#f4,#68
	db #fc,#b8,#c4,#b8,#cc,#b8,#d4,#b8
	db #dc,#b8,#e4,#b8,#ec,#b8,#f4,#b8
	db #fc,#08,#c5,#08,#cd,#08,#d5,#08
	db #dd,#08,#e5,#08,#ed,#08,#f5,#08
	db #fd,#58,#c5,#58,#cd,#58,#d5,#58
	db #dd,#58,#e5,#58,#ed,#58,#f5,#58
	db #fd,#a8,#c5,#a8,#cd,#a8,#d5,#a8
	db #dd,#a8,#e5,#a8,#ed,#a8,#f5,#a8
	db #fd,#f8,#c5,#f8,#cd,#f8,#d5,#f8
	db #dd,#f8,#e5,#f8,#ed,#f8,#f5,#f8
	db #fd,#48,#c6,#48,#ce,#48,#d6,#48
	db #de,#48,#e6,#48,#ee,#48,#f6,#48
	db #fe,#98,#c6,#98,#ce,#98,#d6,#98
	db #de,#98,#e6,#98,#ee,#98,#f6,#98
.la58d equ $ + 1
.la58c
	db #fe,#00,#00,#06,#00,#0c,#00,#94
	db #05,#9a,#05,#a0,#05,#28,#0b,#2e
	db #0b,#34,#0b,#bc,#10,#c2,#10,#c8
	db #10,#04,#13,#14,#07,#17,#00,#14
	db #07,#0c,#06,#1e,#0a,#0e,#12,#1c
.la5b5 equ $ + 1
	db #16,#07,#0d,#1c,#19,#07,#05,#1c
	db #0c,#07,#13,#0e,#06,#07,#14,#1c
	db #1e,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00
;
.play_music
;
	call real_play_music
	jp real_play_music

;
.game_name
	db "Barbarian",0
.game_year
	db "1987",0
.game_publisher
	db "Palace Software",0
.music_author
	db "Paul Murray",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
